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

Comparing jsr166/src/test/loops/CheckedLockLoops.java (file contents):
Revision 1.5 by jsr166, Mon Nov 2 23:42:46 2009 UTC vs.
Revision 1.6 by jsr166, Thu Sep 16 03:57:13 2010 UTC

# Line 197 | Line 197 | public final class CheckedLockLoops {
197              int sum = 0;
198              int x = 0;
199              while (n-- > 0) {
200 <                synchronized(this) {
200 >                synchronized (this) {
201                      x = setValue(LoopHelpers.compute1(getValue()));
202                  }
203                  sum += LoopHelpers.compute2(x);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines