diff -r 1c999569643b -r acf2c31e22d4 samples/reentrant/src/org/apidesign/reentrant/CriticalSectionReentrant.java --- a/samples/reentrant/src/org/apidesign/reentrant/CriticalSectionReentrant.java Sat Jun 14 10:04:51 2008 +0200 +++ b/samples/reentrant/src/org/apidesign/reentrant/CriticalSectionReentrant.java Sat Jun 14 10:04:53 2008 +0200 @@ -5,13 +5,13 @@ public class CriticalSectionReentrant> implements CriticalSection { private T pilot; - private AtomicInteger cnt = new AtomicInteger(); public void assignPilot(T pilot) { this.pilot = pilot; } // BEGIN: reentrant.merge.int + private AtomicInteger cnt = new AtomicInteger(); public int sumBigger(Collection args) { T pilotCopy = this.pilot; int own = doCriticalSection(args, pilotCopy);