Fix Checkstyle violation in the JdbcLockRegistry
**Cherry-pick to `6.1.x` & `6.0.x`**
This commit is contained in:
committed by
Artem Bilan
parent
50c53e08aa
commit
0f1304494f
@@ -68,7 +68,7 @@ public class JdbcLockRegistry implements ExpirableLockRegistry, RenewableLockReg
|
||||
private final Lock lock = new ReentrantLock();
|
||||
|
||||
private final Map<String, JdbcLock> locks =
|
||||
new LinkedHashMap<String, JdbcLock>(16, 0.75F, true) {
|
||||
new LinkedHashMap<>(16, 0.75F, true) {
|
||||
|
||||
@Override
|
||||
protected boolean removeEldestEntry(Entry<String, JdbcLock> eldest) {
|
||||
@@ -327,7 +327,7 @@ public class JdbcLockRegistry implements ExpirableLockRegistry, RenewableLockReg
|
||||
}
|
||||
|
||||
public boolean isAcquiredInThisProcess() {
|
||||
return delegate.isLocked();
|
||||
return this.delegate.isLocked();
|
||||
}
|
||||
|
||||
public boolean renew() {
|
||||
|
||||
Reference in New Issue
Block a user