diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-18 02:59:32 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-18 02:59:32 +0200 |
commit | 64216d3ea9ba04ee54a6a33f3074d59f55a6e0ef (patch) | |
tree | 13e17930c17e6fc93dfb6fb1268b0ae453a421cf /usage_examples/SynchronizedExample_pre.jpage | |
parent | b7c969789961069b65bb811049826c2ccb5eb936 (diff) | |
download | lombok-64216d3ea9ba04ee54a6a33f3074d59f55a6e0ef.tar.gz lombok-64216d3ea9ba04ee54a6a33f3074d59f55a6e0ef.tar.bz2 lombok-64216d3ea9ba04ee54a6a33f3074d59f55a6e0ef.zip |
Added feedback from r.spilker.
Diffstat (limited to 'usage_examples/SynchronizedExample_pre.jpage')
-rw-r--r-- | usage_examples/SynchronizedExample_pre.jpage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usage_examples/SynchronizedExample_pre.jpage b/usage_examples/SynchronizedExample_pre.jpage index f1e8afba..ace39f85 100644 --- a/usage_examples/SynchronizedExample_pre.jpage +++ b/usage_examples/SynchronizedExample_pre.jpage @@ -1,7 +1,7 @@ import lombok.Synchronized; public class SynchronizedExample { - private final Object myLock = new Object(); + private final Object readLock = new Object(); @Synchronized public static void hello() { @@ -13,7 +13,7 @@ public class SynchronizedExample { return 42; } - @Synchronized("myLock") + @Synchronized("readLock") public void foo() { System.out.println("bar"); } |