# | Line 15 | Line 15 | import junit.framework.TestSuite; | |
---|---|---|
15 | public class AtomicIntegerArrayTest extends JSR166TestCase { | |
16 | ||
17 | public static void main(String[] args) { | |
18 | < | junit.textui.TestRunner.run(suite()); |
18 | > | main(suite(), args); |
19 | } | |
20 | public static Test suite() { | |
21 | return new TestSuite(AtomicIntegerArrayTest.class); | |
# | Line 286 | Line 286 | public class AtomicIntegerArrayTest exte | |
286 | assertTrue(v >= 0); | |
287 | if (v != 0) { | |
288 | done = false; | |
289 | < | if (aa.compareAndSet(i, v, v-1)) |
289 | > | if (aa.compareAndSet(i, v, v - 1)) |
290 | ++counts; | |
291 | } | |
292 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |