From 44879091d65626b81ffdf912324f9ed0991a5f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9C=B0=E5=B9=B3=E7=BA=BF?= <22250530@qq.com> Date: Thu, 2 Jul 2015 11:57:04 +0800 Subject: [PATCH] --- src/com/wentch/redkale/util/Utility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/wentch/redkale/util/Utility.java b/src/com/wentch/redkale/util/Utility.java index a9af4857f..28df970e3 100644 --- a/src/com/wentch/redkale/util/Utility.java +++ b/src/com/wentch/redkale/util/Utility.java @@ -82,7 +82,7 @@ public final class Utility { for (byte b : bytes) { if (sb.length() > 1) sb.append(','); int v = b & 0xff; - if (v < 10) sb.append('0'); + if (v < 16) sb.append('0'); sb.append(Integer.toHexString(v)); } sb.append(']');