From e5f2d508bc27bf96f1f52d40ba7107a04e865360 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Tue, 15 Feb 2011 21:09:15 +0000 Subject: [PATCH] Revert unnecessary change (no checkstyle issue in this file; method unused, so no need to introduce) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071064 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/util/ConversionUtils.java | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/java/org/apache/fop/util/ConversionUtils.java b/src/java/org/apache/fop/util/ConversionUtils.java index 15251cd86..fcdb4cdbd 100644 --- a/src/java/org/apache/fop/util/ConversionUtils.java +++ b/src/java/org/apache/fop/util/ConversionUtils.java @@ -112,28 +112,4 @@ public final class ConversionUtils { } - /** - * Concatenates the given array of ints into a java.lang.String, - * 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(); - } - } -- 2.39.5