From b3300cf4be632e66e8a04ab2ff8d60b1b8470cc0 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Sun, 17 Jul 2016 10:22:43 +0000 Subject: [PATCH] HexDump.writeHex is similar to Long#toHexString. Consider consolidating. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753050 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/util/HexDump.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/org/apache/poi/util/HexDump.java b/src/java/org/apache/poi/util/HexDump.java index 25fb3c275..01a8f5091 100644 --- a/src/java/org/apache/poi/util/HexDump.java +++ b/src/java/org/apache/poi/util/HexDump.java @@ -391,6 +391,10 @@ public class HexDump { return sb.toString(); } + /** + * @see Integer#toHexString(int) + * @see Long#toHexString(long) + */ private static void writeHex(StringBuilder sb, long value, int nDigits, String prefix) { sb.append(prefix); char[] buf = new char[nDigits];