]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Revert unnecessary change (no checkstyle issue in this file; method unused, so no...
authorAndreas L. Delmelle <adelmelle@apache.org>
Tue, 15 Feb 2011 21:09:15 +0000 (21:09 +0000)
committerAndreas L. Delmelle <adelmelle@apache.org>
Tue, 15 Feb 2011 21:09:15 +0000 (21:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071064 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/util/ConversionUtils.java

index 15251cd86872ae899b9ef6e6b2211f7fe088f93e..fcdb4cdbd0b6aca1d5cbb7bd1a9b9f160f851f29 100644 (file)
@@ -112,28 +112,4 @@ public final class ConversionUtils {
 
     }
 
-    /**
-     * Concatenates the given array of <code>int</code>s into a <code>java.lang.String</code>,
-     * separated by the specified separator character.
-     * @param intArray  the int array
-     * @param separator the separator char
-     * @return  a String representing the int array
-     */
-    public static String toString(int[] intArray, String separator) {
-        
-        if (intArray == null || intArray.length == 0) {
-            return "";
-        }
-        
-        StringBuffer sb = new StringBuffer(64);
-        int arrayLength = intArray.length;
-        for (int i = 0; i < arrayLength; ++i) {
-            sb.append(intArray[i]);
-            if (i < (arrayLength - 1)) {
-                sb.append(separator);
-            }
-        }
-        return sb.toString();
-    }
-    
 }