ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/AtomicIntegerArrayTest.java
(Generate patch)

Comparing jsr166/src/test/tck/AtomicIntegerArrayTest.java (file contents):
Revision 1.22 by jsr166, Tue May 31 16:16:23 2011 UTC vs.
Revision 1.23 by jsr166, Fri Jun 10 19:45:01 2011 UTC

# Line 43 | Line 43 | public class AtomicIntegerArrayTest exte
43       * constructor with array is of same size and has all elements
44       */
45      public void testConstructor2() {
46 <        int[] a = { 17, 3, -42, 99, -7};
46 >        int[] a = { 17, 3, -42, 99, -7 };
47          AtomicIntegerArray ai = new AtomicIntegerArray(a);
48          assertEquals(a.length, ai.length());
49          for (int i = 0; i < a.length; ++i)
# Line 324 | Line 324 | public class AtomicIntegerArrayTest exte
324       * toString returns current value.
325       */
326      public void testToString() {
327 <        int[] a = { 17, 3, -42, 99, -7};
327 >        int[] a = { 17, 3, -42, 99, -7 };
328          AtomicIntegerArray ai = new AtomicIntegerArray(a);
329          assertEquals(Arrays.toString(a), ai.toString());
330      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines