diff --git a/renren-common/src/main/java/io/renren/common/utils/JhlDAPTool.java b/renren-common/src/main/java/io/renren/common/utils/JhlDAPTool.java index e07a51a6..5d44667c 100644 --- a/renren-common/src/main/java/io/renren/common/utils/JhlDAPTool.java +++ b/renren-common/src/main/java/io/renren/common/utils/JhlDAPTool.java @@ -106,9 +106,6 @@ public class JhlDAPTool { user.put("distinguishedName",next.get().toString()); }else if("objectGUID".equals(next.getID())){ String guidStr = next.get().toString(); - //Object o = next.get(0); - - String guid = guidObject2String((byte[]) next.get(0)); user.put("id",SingleID.getSingleID(guid)); user.put("guid",guid); @@ -162,16 +159,6 @@ public class JhlDAPTool { } builder.append('-'); -// for (int i = 8; i <9; i++) -// { -// String hex = Integer.toHexString(b[i] & 0xFF); -// if (hex.length() == 1) -// { -// hex = '0' + hex; -// } -// builder.append(hex); -// } -// builder.append('-'); for (int i = 8; i <10; i++) { String hex = Integer.toHexString(b[i] & 0xFF);