Skip to content
Permalink
Browse files
imported Collections#sort() static method
  • Loading branch information
simonetripodi committed Jul 11, 2012
1 parent cace280 commit fa8885e46e3c88c6f7bb0519cb2713136c83d7dc
Showing 1 changed file with 3 additions and 2 deletions.
@@ -19,11 +19,12 @@
* 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 void returnsOrderedItemsFromRandomInsert()

queue.add( number );
}
Collections.sort( expected );
sort( expected );

for ( Integer integer : expected )
{

0 comments on commit fa8885e

Please sign in to comment.