mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 14:17:48 +00:00
[review] [#3506] PR reviewed; passes review and passes tests.
This commit is contained in:
38 files changed
+406
-371
No files matched your search
@@ -1,14 +1,14 @@
|
||||
class LockedOnStatic<Z> {
|
||||
static class Inner {
|
||||
private static final java.util.concurrent.locks.ReentrantLock LCK = new java.util.concurrent.locks.ReentrantLock();
|
||||
@lombok.experimental.Locked("LCK")
|
||||
private static final java.util.concurrent.locks.Lock LCK = new java.util.concurrent.locks.ReentrantLock();
|
||||
@lombok.Locked("LCK")
|
||||
public void foo() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
class Inner2 {
|
||||
private final java.util.concurrent.locks.ReentrantLock LCK = new java.util.concurrent.locks.ReentrantLock();
|
||||
@lombok.experimental.Locked("LCK")
|
||||
@lombok.Locked("LCK")
|
||||
public void foo() {
|
||||
System.out.println();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user