xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adelme...@apache.org
Subject svn commit: r1071064 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ConversionUtils.java
Date Tue, 15 Feb 2011 21:09:15 GMT
Author: adelmelle
Date: Tue Feb 15 21:09:15 2011
New Revision: 1071064

URL: http://svn.apache.org/viewvc?rev=1071064&view=rev
Log:
Revert unnecessary change (no checkstyle issue in this file; method unused, so no need to
introduce)

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ConversionUtils.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ConversionUtils.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ConversionUtils.java?rev=1071064&r1=1071063&r2=1071064&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ConversionUtils.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ConversionUtils.java Tue Feb 15 21:09:15
2011
@@ -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();
-    }
-    
 }



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


Mime
View raw message