poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1753050 - /poi/trunk/src/java/org/apache/poi/util/HexDump.java
Date Sun, 17 Jul 2016 10:22:43 GMT
Author: onealj
Date: Sun Jul 17 10:22:43 2016
New Revision: 1753050

URL: http://svn.apache.org/viewvc?rev=1753050&view=rev
Log:
HexDump.writeHex is similar to Long#toHexString. Consider consolidating.

Modified:
    poi/trunk/src/java/org/apache/poi/util/HexDump.java

Modified: poi/trunk/src/java/org/apache/poi/util/HexDump.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/util/HexDump.java?rev=1753050&r1=1753049&r2=1753050&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/util/HexDump.java (original)
+++ poi/trunk/src/java/org/apache/poi/util/HexDump.java Sun Jul 17 10:22:43 2016
@@ -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];



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message