commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1360100 - /commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/collections/FibonacciHeapTestCase.java
Date Wed, 11 Jul 2012 10:22:35 GMT
Author: simonetripodi
Date: Wed Jul 11 10:22:35 2012
New Revision: 1360100

URL: http://svn.apache.org/viewvc?rev=1360100&view=rev
Log:
imported Collections#sort() static method

Modified:
    commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/collections/FibonacciHeapTestCase.java

Modified: commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/collections/FibonacciHeapTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/collections/FibonacciHeapTestCase.java?rev=1360100&r1=1360099&r2=1360100&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/collections/FibonacciHeapTestCase.java
(original)
+++ commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/collections/FibonacciHeapTestCase.java
Wed Jul 11 10:22:35 2012
@@ -19,11 +19,12 @@ package org.apache.commons.graph.collect
  * under the License.
  */
 
+import static java.util.Collections.sort;
 import static org.hamcrest.CoreMatchers.is;
 import static org.junit.Assert.assertThat;
 
 import java.util.ArrayList;
-import java.util.Collections;
+
 import java.util.List;
 import java.util.Queue;
 import java.util.Random;
@@ -130,7 +131,7 @@ public final class FibonacciHeapTestCase
 
             queue.add( number );
         }
-        Collections.sort( expected );
+        sort( expected );
 
         for ( Integer integer : expected )
         {



Mime
View raw message