From 78c1f1da1169522324b69079cb49a91b9e8d7b76 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Sun, 29 Nov 2009 17:28:27 +0100 Subject: Updated tests for Getter, Setter and Cleanup. Added Synchronized --- test/lombok/resource/before/SynchronizedPlain.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/lombok/resource/before/SynchronizedPlain.java (limited to 'test/lombok/resource/before/SynchronizedPlain.java') 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 -- cgit