Fix minor inspection issues

This commit is contained in:
AsamK 2018-11-19 23:00:32 +01:00
parent 860ec6f5dc
commit 2ab70edc68
6 changed files with 13 additions and 14 deletions

View file

@ -11,8 +11,8 @@ public class Hex {
public static String toStringCondensed(byte[] bytes) {
StringBuffer buf = new StringBuffer();
for (int i = 0; i < bytes.length; i++) {
appendHexChar(buf, bytes[i]);
for (final byte aByte : bytes) {
appendHexChar(buf, aByte);
}
return buf.toString();
}