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

Comparing jsr166/src/test/loops/MapCheck.java (file contents):
Revision 1.9 by jsr166, Mon Nov 2 23:51:32 2009 UTC vs.
Revision 1.10 by jsr166, Mon Nov 2 23:55:36 2009 UTC

# Line 164 | Line 164 | public class MapCheck {
164          Map<Integer,Integer> intMap = (Map<Integer,Integer>)s;
165          timer.start(nm, n);
166          for (int i = 0; i < n; i++) {
167 <            if ((Integer) (intMap.get(i)) != i) ++sum;
167 >            if (intMap.get(i) != i) ++sum;
168          }
169          timer.finish();
170          reallyAssert (sum == expect);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines