mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 07:13:15 +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,17 +1,17 @@
|
||||
class LockedGeneratedStaticMismatch {
|
||||
@lombok.experimental.Locked static void test() {
|
||||
@lombok.Locked static void test() {
|
||||
System.out.println("one");
|
||||
}
|
||||
@lombok.experimental.Locked("LOCK") void test2() {
|
||||
@lombok.Locked("$LOCK") void test2() {
|
||||
System.out.println("two");
|
||||
}
|
||||
}
|
||||
class LockedUserStaticMismatch {
|
||||
private static final java.util.concurrent.locks.ReentrantLock userLock = new java.util.concurrent.locks.ReentrantLock();
|
||||
@lombok.experimental.Locked("userLock") static void test() {
|
||||
private static final java.util.concurrent.locks.Lock userLock = new java.util.concurrent.locks.ReentrantLock();
|
||||
@lombok.Locked("userLock") static void test() {
|
||||
System.out.println("one");
|
||||
}
|
||||
@lombok.experimental.Locked("userLock") void test2() {
|
||||
@lombok.Locked("userLock") void test2() {
|
||||
System.out.println("two");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user