diff options
author | Javen O'Neal <onealj@apache.org> | 2016-07-17 10:22:43 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2016-07-17 10:22:43 +0000 |
commit | 09681e86ab612e13fcf29ac21548692df12cf85f (patch) | |
tree | 04abd88fe44c5f7c8e916c7c1d3fc37f420d116c /src | |
parent | 5357c9282737382fadca44020d8561b41053a750 (diff) | |
download | poi-09681e86ab612e13fcf29ac21548692df12cf85f.tar.gz poi-09681e86ab612e13fcf29ac21548692df12cf85f.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/poi/util/HexDump.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/util/HexDump.java b/src/java/org/apache/poi/util/HexDump.java index 25fb3c2758..01a8f50911 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]; |