aboutsummaryrefslogtreecommitdiff
path: root/website2/usageExamples/SynchronizedExample_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'website2/usageExamples/SynchronizedExample_pre.jpage')
-rw-r--r--website2/usageExamples/SynchronizedExample_pre.jpage20
1 files changed, 0 insertions, 20 deletions
diff --git a/website2/usageExamples/SynchronizedExample_pre.jpage b/website2/usageExamples/SynchronizedExample_pre.jpage
deleted file mode 100644
index ace39f85..00000000
--- a/website2/usageExamples/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");
- }
-}