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

Comparing jsr166/src/test/loops/IntMapCheck.java (file contents):
Revision 1.10 by jsr166, Tue Mar 15 19:47:05 2011 UTC vs.
Revision 1.11 by jsr166, Sun Jul 14 22:29:33 2013 UTC

# Line 607 | Line 607 | public class IntMapCheck {
607  
608      static void shuffle(Integer[] keys) {
609          int size = keys.length;
610 <        for (int i=size; i>1; i--) {
610 >        for (int i = size; i > 1; i--) {
611              int r = rng.nextInt(i);
612              Integer t = keys[i-1];
613              keys[i-1] = keys[r];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines