mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
[fixes #678] @Synchronize an instance method on static variable no longer emits a warning.
This commit is contained in:
16 files changed
+156
-44
No files matched your search
@@ -13,7 +13,7 @@ class SynchronizedName {
|
||||
}
|
||||
}
|
||||
@lombok.Synchronized("READ") void test4() {
|
||||
synchronized (this.READ)
|
||||
synchronized (SynchronizedName.READ)
|
||||
{
|
||||
System.out.println("four");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user