Browse Source

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
tags/fop-1_1rc1old
Andreas L. Delmelle 13 years ago
parent
commit
e5f2d508bc
1 changed files with 0 additions and 24 deletions
  1. 0
    24
      src/java/org/apache/fop/util/ConversionUtils.java

+ 0
- 24
src/java/org/apache/fop/util/ConversionUtils.java View 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();
}
}

Loading…
Cancel
Save