优化回调

This commit is contained in:
qitz
2024-03-14 10:46:47 +08:00
parent b4e54bd501
commit d7d48a3ff3
2 changed files with 8 additions and 7 deletions
@@ -33,11 +33,9 @@ public class DigesdateUtils {
String stmpHex;
for (int n = 0; byteArrayData != null && n < byteArrayData.length; n++) {
stmpHex = Integer.toHexString(byteArrayData[n] & 0XFF);
if (stmpHex.length() == 1){
if (stmpHex.length() == 1)
hashBuilder.append('0');
}else {
hashBuilder.append(stmpHex);
}
hashBuilder.append(stmpHex);
}
return hashBuilder.toString();
}
@@ -45,7 +43,4 @@ public class DigesdateUtils {
}