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.8 by jsr166, Mon Dec 5 04:08:46 2011 UTC vs.
Revision 1.9 by jsr166, Mon Dec 19 19:18:35 2011 UTC

# Line 479 | Line 479 | public class Microscope extends JPanel {
479       * threads (instead new ones are constructed), so don't
480       * need any synch.
481       */
482 <    static final class Board   {
482 >    static final class Board {
483  
484          /*
485             First, some Constants and utilities that might as well be here
# Line 761 | Line 761 | public class Microscope extends JPanel {
761          synchronized boolean isFrom(int r, int c) {
762              return fromRow== r && fromCol == c;
763          }
764 <        synchronized boolean isTo(int r, int c)   {
764 >        synchronized boolean isTo(int r, int c) {
765              return toRow == r && toCol == c;
766          }
767          synchronized Board board() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines