commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1545658 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java
Date Tue, 26 Nov 2013 14:00:43 GMT
Author: ebourg
Date: Tue Nov 26 14:00:43 2013
New Revision: 1545658

URL: http://svn.apache.org/r1545658
Log:
Removed unused methods from BinaryFileParser

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java?rev=1545658&r1=1545657&r2=1545658&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java
Tue Nov 26 14:00:43 2013
@@ -200,22 +200,6 @@ public class BinaryFileParser {
         pw.flush();
     }
 
-    protected final void debugByteArray(final String name, final byte bytes[]) {
-        System.out.println(name + ": " + bytes.length);
-
-        for (int i = 0; ((i < bytes.length) && (i < 50)); i++) {
-            debugNumber("\t" + " (" + i + ")", 0xff & bytes[i]);
-        }
-    }
-
-    protected final void debugNumberArray(final String name, final int numbers[], final int
length) {
-        System.out.println(name + ": " + numbers.length);
-
-        for (int i = 0; ((i < numbers.length) && (i < 50)); i++) {
-            debugNumber(name + " (" + i + ")", numbers[i], length);
-        }
-    }
-
     protected final boolean compareBytes(final byte a[], final int aStart, final byte b[],
             final int bStart, final int length) {
         return BinaryFunctions.compareBytes(a, aStart, b, bStart, length);



Mime
View raw message