mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-04 11:52:41 +08:00
优化代码
This commit is contained in:
@@ -49,7 +49,7 @@ public class RedissonLockTest {
|
||||
Lock readLock = readWriteLock.readLock();
|
||||
|
||||
Lock writeLock = readWriteLock.writeLock();
|
||||
Consumer<Long>[] consumer = new Consumer[1];
|
||||
Consumer[] consumer = new Consumer[1];
|
||||
consumer[0] = System.out::println;
|
||||
for (int i = 0; i < 10; i++) {
|
||||
new Thread(() -> {
|
||||
|
||||
Reference in New Issue
Block a user