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

Comparing jsr166/src/test/loops/Microscope.java (file contents):
Revision 1.9 by jsr166, Mon Dec 19 19:18:35 2011 UTC vs.
Revision 1.11 by jsr166, Fri Jul 6 23:45:09 2012 UTC

# Line 1005 | Line 1005 | public class Microscope extends JPanel {
1005              Finder forked = null; // list of forked subtasks when level > 1
1006  
1007              long open = ~(ours | theirs);  // currently empty cells
1008 <            long here = 1;                 // travserse through bits
1008 >            long here = 1;                 // traverse through bits
1009  
1010              for (int k = 0; k < Board.CELLS; ++k, here <<= 1) {
1011                  if ((here & ours) != 0) {
# Line 1173 | Line 1173 | public class Microscope extends JPanel {
1173                  long nextOurs = bestFinder.theirs;
1174                  long nextTheirs = bestFinder.ours;
1175                  long blue = player.isBlue() ? nextOurs : nextTheirs;
1176 <                long green = player.isBlue() ? nextTheirs: nextOurs;
1176 >                long green = player.isBlue() ? nextTheirs : nextOurs;
1177                  move = new Move(player, new Board(blue, green), true);
1178              }
1179              automover.relay(move);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines