aboutsummaryrefslogtreecommitdiff
path: root/test/lombok/resource/before/SynchronizedPlain.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-11-29 17:28:27 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-11-29 17:28:27 +0100
commit78c1f1da1169522324b69079cb49a91b9e8d7b76 (patch)
treec42bba7c88e934632abdc1751893d56ac9b5583c /test/lombok/resource/before/SynchronizedPlain.java
parent3cf45e932b26f8e96caeecdae570cf7d9cd5e328 (diff)
downloadlombok-78c1f1da1169522324b69079cb49a91b9e8d7b76.tar.gz
lombok-78c1f1da1169522324b69079cb49a91b9e8d7b76.tar.bz2
lombok-78c1f1da1169522324b69079cb49a91b9e8d7b76.zip
Updated tests for Getter, Setter and Cleanup. Added Synchronized
Diffstat (limited to 'test/lombok/resource/before/SynchronizedPlain.java')
-rw-r--r--test/lombok/resource/before/SynchronizedPlain.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/lombok/resource/before/SynchronizedPlain.java b/test/lombok/resource/before/SynchronizedPlain.java
new file mode 100644
index 00000000..f903172c
--- /dev/null
+++ b/test/lombok/resource/before/SynchronizedPlain.java
@@ -0,0 +1,17 @@
+import lombok.Synchronized;
+class SynchronizedPlain1 {
+ @lombok.Synchonized void test() {
+ System.out.println("one");
+ }
+ @Synchonized void test2() {
+ System.out.println("two");
+ }
+}
+class SynchronizedPlain2 {
+ @lombok.Synchonized static void test() {
+ System.out.println("three");
+ }
+ @Synchonized static void test2() {
+ System.out.println("four");
+ }
+} \ No newline at end of file