aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/SynchronizedExample_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'usage_examples/SynchronizedExample_pre.jpage')
-rw-r--r--usage_examples/SynchronizedExample_pre.jpage20
1 files changed, 0 insertions, 20 deletions
diff --git a/usage_examples/SynchronizedExample_pre.jpage b/usage_examples/SynchronizedExample_pre.jpage
deleted file mode 100644
index ace39f85..00000000
--- a/usage_examples/SynchronizedExample_pre.jpage
+++ /dev/null
@@ -1,20 +0,0 @@
-import lombok.Synchronized;
-
-public class SynchronizedExample {
- private final Object readLock = new Object();
-
- @Synchronized
- public static void hello() {
- System.out.println("world");
- }
-
- @Synchronized
- public int answerToLife() {
- return 42;
- }
-
- @Synchronized("readLock")
- public void foo() {
- System.out.println("bar");
- }
-}