Skip to content

Commit 04a2e9e

Browse files
committed
Remove unused method. It made no sense anyway, since Assert.assertArrayEquals is capable of comparing multi dimensional arrays.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512617 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8b74f0a commit 04a2e9e

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/test/java/org/apache/commons/csv/Utils.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,6 @@ final class Utils {
3232
private Utils() {
3333
}
3434

35-
/**
36-
* Checks if the two 2d arrays have identical contents.
37-
*
38-
* @param message the message to be displayed
39-
* @param expected the 2d array of expected results
40-
* @param actual the 2d array of actual results
41-
*/
42-
public static void compare(final String message, final String[][] expected, final String[][] actual) {
43-
Assert.assertEquals(message+" - outer array size", expected.length, actual.length);
44-
for(int i = 0; i < expected.length; i++) {
45-
Assert.assertArrayEquals(message+" (entry "+i+")",expected[i], actual[i]);
46-
}
47-
}
48-
4935
/**
5036
* Checks if the 2d array has the same contents as the list of records.
5137
*

0 commit comments

Comments
 (0)