aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/before/SynchronizedName.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-12-01 23:23:35 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-12-01 23:31:12 +0100
commit2aebaff46026dbfa447fd7454472e88c41dc8103 (patch)
tree609c69c3cd5277e861315a2b23deb86a8e5c2de9 /test/delombok/resource/before/SynchronizedName.java
parent2a56f341d0073099859db815caf9d455f74e6198 (diff)
downloadlombok-2aebaff46026dbfa447fd7454472e88c41dc8103.tar.gz
lombok-2aebaff46026dbfa447fd7454472e88c41dc8103.tar.bz2
lombok-2aebaff46026dbfa447fd7454472e88c41dc8103.zip
Moved test resource files to a better matching location
Diffstat (limited to 'test/delombok/resource/before/SynchronizedName.java')
-rw-r--r--test/delombok/resource/before/SynchronizedName.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/delombok/resource/before/SynchronizedName.java b/test/delombok/resource/before/SynchronizedName.java
new file mode 100644
index 00000000..3aaec705
--- /dev/null
+++ b/test/delombok/resource/before/SynchronizedName.java
@@ -0,0 +1,18 @@
+//ignore
+class SynchronizedName {
+ private Object read = new Object();
+ private static Object READ = new Object();
+
+ @lombok.Synchronized("read") void test1() {
+ System.out.println("one");
+ }
+ @lombok.Synchronized("write") void test2() {
+ System.out.println("two");
+ }
+ @lombok.Synchronized("read") static void test3() {
+ System.out.println("three");
+ }
+ @lombok.Synchronized("READ") void test4() {
+ System.out.println("four");
+ }
+}