--- jsr166/src/test/tck/ConcurrentSkipListSubMapTest.java 2011/05/31 16:16:23 1.19 +++ jsr166/src/test/tck/ConcurrentSkipListSubMapTest.java 2012/02/21 02:04:17 1.22 @@ -18,7 +18,7 @@ public class ConcurrentSkipListSubMapTes } /** - * Create a map from Integers 1-5 to Strings "A"-"E". + * Returns a new map from Integers 1-5 to Strings "A"-"E". */ private static ConcurrentNavigableMap map5() { ConcurrentSkipListMap map = new ConcurrentSkipListMap(); @@ -36,7 +36,7 @@ public class ConcurrentSkipListSubMapTes } /** - * Create a map from Integers -5 to -1 to Strings "A"-"E". + * Returns a new map from Integers -5 to -1 to Strings "A"-"E". */ private static ConcurrentNavigableMap dmap5() { ConcurrentSkipListMap map = new ConcurrentSkipListMap(); @@ -69,7 +69,7 @@ public class ConcurrentSkipListSubMapTes public void testClear() { ConcurrentNavigableMap map = map5(); map.clear(); - assertEquals(map.size(), 0); + assertEquals(0, map.size()); } /** @@ -743,7 +743,7 @@ public class ConcurrentSkipListSubMapTes public void testDescendingClear() { ConcurrentNavigableMap map = dmap5(); map.clear(); - assertEquals(map.size(), 0); + assertEquals(0, map.size()); } /**