aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SynchronizedName.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-02-14 01:20:14 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-02-14 01:21:24 +0100
commit89f98da78d3ffd9e9f6f7151fcaf5e4329d2e8dd (patch)
tree7e77630855e4a66851f4c3972a54263f024e58a7 /test/transform/resource/after-delombok/SynchronizedName.java
parent15b09ee27466baa9107ce6556e9302191f1cd7b5 (diff)
downloadlombok-89f98da78d3ffd9e9f6f7151fcaf5e4329d2e8dd.tar.gz
lombok-89f98da78d3ffd9e9f6f7151fcaf5e4329d2e8dd.tar.bz2
lombok-89f98da78d3ffd9e9f6f7151fcaf5e4329d2e8dd.zip
[fixes #678] `@Synchronize` an instance method on static variable no longer emits a warning.
Diffstat (limited to 'test/transform/resource/after-delombok/SynchronizedName.java')
-rw-r--r--test/transform/resource/after-delombok/SynchronizedName.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/SynchronizedName.java b/test/transform/resource/after-delombok/SynchronizedName.java
index 91fd7ea7..9c160166 100644
--- a/test/transform/resource/after-delombok/SynchronizedName.java
+++ b/test/transform/resource/after-delombok/SynchronizedName.java
@@ -8,7 +8,7 @@ class SynchronizedName {
}
}
void test4() {
- synchronized (this.READ) {
+ synchronized (SynchronizedName.READ) {
System.out.println("four");
}
}