# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |