From 2aebaff46026dbfa447fd7454472e88c41dc8103 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 1 Dec 2009 23:23:35 +0100 Subject: Moved test resource files to a better matching location --- .../delombok/resource/after/SynchronizedPlain.java | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 test/delombok/resource/after/SynchronizedPlain.java (limited to 'test/delombok/resource/after/SynchronizedPlain.java') diff --git a/test/delombok/resource/after/SynchronizedPlain.java b/test/delombok/resource/after/SynchronizedPlain.java new file mode 100644 index 00000000..fcbe03f2 --- /dev/null +++ b/test/delombok/resource/after/SynchronizedPlain.java @@ -0,0 +1,26 @@ +class SynchronizedPlain1 { + void test() { + synchronized ($lock) { + System.out.println("one"); + } + } + void test2() { + synchronized ($lock) { + System.out.println("two"); + } + } + private final java.lang.Object $lock = new java.lang.Object[0]; +} +class SynchronizedPlain2 { + static void test() { + synchronized ($LOCK) { + System.out.println("three"); + } + } + static void test2() { + synchronized ($LOCK) { + System.out.println("four"); + } + } + private static final java.lang.Object $LOCK = new java.lang.Object[0]; +} \ No newline at end of file -- cgit