commit | 42b620389692cf8d86e27cf232b7771d890c6224 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Thu Feb 01 11:15:31 2018 -0800 |
committer | Thomas Vachuska <tom@opennetworking.org> | Thu Feb 01 21:09:07 2018 +0000 |
tree | c912acd655f6137d4eda5f494b03c6532d406aad | |
parent | 5f092c47465c4f886f037a029d55fe5312ecae66 [diff] |
SONAR suggestion - problems with string format calls Change-Id: Ie6b985d2e4db79d6398b17e38a680920f52366b3
diff --git a/utils/misc/src/main/java/org/onlab/util/HexDump.java b/utils/misc/src/main/java/org/onlab/util/HexDump.java index 692d688..853a597 100644 --- a/utils/misc/src/main/java/org/onlab/util/HexDump.java +++ b/utils/misc/src/main/java/org/onlab/util/HexDump.java
@@ -43,7 +43,7 @@ StringBuilder sb = new StringBuilder(); for (int k = 0; (k < 16) && (buff.readableBytes() != 0); ++k) { if (0 == k % 4) { - sb.append(String.format(" ")); // blank after 4 bytes + sb.append(" "); // blank after 4 bytes } sb.append(String.format("%02X ", buff.readByte())); }