Skip to content

Commit 945c842

Browse files
mhyeon-leeartembilan
authored andcommitted
Fix Checkstyle violation in the JdbcLockRegistry
**Cherry-pick to `6.1.x` & `6.0.x`** (cherry picked from commit 0f13044)
1 parent f687438 commit 945c842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/lock/JdbcLockRegistry.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public class JdbcLockRegistry implements ExpirableLockRegistry, RenewableLockReg
6565
private static final int DEFAULT_CAPACITY = 100_000;
6666

6767
private final Map<String, JdbcLock> locks =
68-
new LinkedHashMap<String, JdbcLock>(16, 0.75F, true) {
68+
new LinkedHashMap<>(16, 0.75F, true) {
6969

7070
@Override
7171
protected boolean removeEldestEntry(Entry<String, JdbcLock> eldest) {
@@ -311,7 +311,7 @@ public Condition newCondition() {
311311
}
312312

313313
public boolean isAcquiredInThisProcess() {
314-
return delegate.isLocked();
314+
return this.delegate.isLocked();
315315
}
316316

317317
public boolean renew() {

0 commit comments

Comments
 (0)