You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/08/10 12:46:04 UTC
svn commit: r1512617 -
/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/Utils.java
Author: britter
Date: Sat Aug 10 10:46:03 2013
New Revision: 1512617
URL: http://svn.apache.org/r1512617
Log:
Remove unused method. It made no sense anyway, since Assert.assertArrayEquals is capable of comparing multi dimensional arrays.
Modified:
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/Utils.java
Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/Utils.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/Utils.java?rev=1512617&r1=1512616&r2=1512617&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/Utils.java (original)
+++ commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/Utils.java Sat Aug 10 10:46:03 2013
@@ -33,20 +33,6 @@ final class Utils {
}
/**
- * Checks if the two 2d arrays have identical contents.
- *
- * @param message the message to be displayed
- * @param expected the 2d array of expected results
- * @param actual the 2d array of actual results
- */
- public static void compare(final String message, final String[][] expected, final String[][] actual) {
- Assert.assertEquals(message+" - outer array size", expected.length, actual.length);
- for(int i = 0; i < expected.length; i++) {
- Assert.assertArrayEquals(message+" (entry "+i+")",expected[i], actual[i]);
- }
- }
-
- /**
* Checks if the 2d array has the same contents as the list of records.
*
* @param message the message to be displayed