--- jsr166/src/test/tck/ConcurrentSkipListMapTest.java 2011/11/26 05:19:17 1.27 +++ jsr166/src/test/tck/ConcurrentSkipListMapTest.java 2013/01/02 07:41:07 1.31 @@ -17,7 +17,7 @@ public class ConcurrentSkipListMapTest e } /** - * 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 ConcurrentSkipListMap map5() { ConcurrentSkipListMap map = new ConcurrentSkipListMap(); @@ -42,7 +42,7 @@ public class ConcurrentSkipListMapTest e } /** - * + * copy constructor creates map equal to source map */ public void testConstructFromSorted() { ConcurrentSkipListMap map = map5(); @@ -1213,7 +1213,7 @@ public class ConcurrentSkipListMapTest e if (bsContainsI) size++; } - assertEquals(map.size(), size); + assertEquals(size, map.size()); // Test contents using contains keySet iterator int size2 = 0;