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

Comparing jsr166/src/test/loops/ListBash.java (file contents):
Revision 1.12 by jsr166, Tue Mar 15 19:47:05 2011 UTC vs.
Revision 1.13 by jsr166, Mon Dec 5 04:08:46 2011 UTC

# Line 174 | Line 174 | public class ListBash {
174              if (!all.equals(s))
175                  fail("Failed to reconstruct ints from odds and evens.");
176  
177 <            all = clone(odd,  cl, synch);
177 >            all = clone(odd, cl, synch);
178              ListIterator<Integer> itAll = all.listIterator(all.size());
179              ListIterator<Integer> itEven = even.listIterator(even.size());
180              while (itEven.hasPrevious()) {
# Line 205 | Line 205 | public class ListBash {
205              Object o = it.next();
206              if (all.indexOf(o) != all.lastIndexOf(o))
207                  fail("Apparent duplicate detected.");
208 <            if (all.subList(i,   all.size()).indexOf(o) != 0) {
208 >            if (all.subList(i, all.size()).indexOf(o) != 0) {
209                  System.out.println("s0: " + all.subList(i,   all.size()).indexOf(o));
210                  fail("subList/indexOf is screwy.");
211              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines