aboutsummaryrefslogtreecommitdiff
path: root/test/lombok/resource/after/SynchronizedPlain.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-11-29 18:30:58 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-11-29 18:30:58 +0100
commit8d9b4fdaca4c1f84385262d84c0c8db7cc222b1a (patch)
treec31823887536ce301595a699a4b902f3445263ce /test/lombok/resource/after/SynchronizedPlain.java
parent96c122a2679eeaa9993b3dac5fff11187a734d1c (diff)
downloadlombok-8d9b4fdaca4c1f84385262d84c0c8db7cc222b1a.tar.gz
lombok-8d9b4fdaca4c1f84385262d84c0c8db7cc222b1a.tar.bz2
lombok-8d9b4fdaca4c1f84385262d84c0c8db7cc222b1a.zip
Fixed the test code for Synchronized
Diffstat (limited to 'test/lombok/resource/after/SynchronizedPlain.java')
-rw-r--r--test/lombok/resource/after/SynchronizedPlain.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lombok/resource/after/SynchronizedPlain.java b/test/lombok/resource/after/SynchronizedPlain.java
index 2c168368..fcbe03f2 100644
--- a/test/lombok/resource/after/SynchronizedPlain.java
+++ b/test/lombok/resource/after/SynchronizedPlain.java
@@ -1,5 +1,4 @@
class SynchronizedPlain1 {
- private final Object $lock = new Object[0];
void test() {
synchronized ($lock) {
System.out.println("one");
@@ -10,9 +9,9 @@ class SynchronizedPlain1 {
System.out.println("two");
}
}
+ private final java.lang.Object $lock = new java.lang.Object[0];
}
class SynchronizedPlain2 {
- private static final Object $LOCK = new Object[0];
static void test() {
synchronized ($LOCK) {
System.out.println("three");
@@ -23,4 +22,5 @@ class SynchronizedPlain2 {
System.out.println("four");
}
}
+ private static final java.lang.Object $LOCK = new java.lang.Object[0];
} \ No newline at end of file