# | Line 26 | Line 26 | import junit.framework.TestSuite; | |
---|---|---|
26 | ||
27 | public class ConcurrentHashMap8Test extends JSR166TestCase { | |
28 | public static void main(String[] args) { | |
29 | < | junit.textui.TestRunner.run(suite()); |
29 | > | main(suite(), args); |
30 | } | |
31 | public static Test suite() { | |
32 | return new TestSuite(ConcurrentHashMap8Test.class); | |
# | Line 516 | Line 516 | public class ConcurrentHashMap8Test exte | |
516 | a = new Integer[0]; | |
517 | assertSame(a, empty.toArray(a)); | |
518 | ||
519 | < | a = new Integer[size/2]; |
519 | > | a = new Integer[size / 2]; |
520 | Arrays.fill(a, 42); | |
521 | assertSame(a, empty.toArray(a)); | |
522 | assertNull(a[0]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |