Skip to content

Commit 0f13044

Browse files
mhyeon-leeartembilan
authored andcommitted
Fix Checkstyle violation in the JdbcLockRegistry
**Cherry-pick to `6.1.x` & `6.0.x`**
1 parent 50c53e0 commit 0f13044

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
@@ -68,7 +68,7 @@ public class JdbcLockRegistry implements ExpirableLockRegistry, RenewableLockReg
6868
private final Lock lock = new ReentrantLock();
6969

7070
private final Map<String, JdbcLock> locks =
71-
new LinkedHashMap<String, JdbcLock>(16, 0.75F, true) {
71+
new LinkedHashMap<>(16, 0.75F, true) {
7272

7373
@Override
7474
protected boolean removeEldestEntry(Entry<String, JdbcLock> eldest) {
@@ -327,7 +327,7 @@ public Condition newCondition() {
327327
}
328328

329329
public boolean isAcquiredInThisProcess() {
330-
return delegate.isLocked();
330+
return this.delegate.isLocked();
331331
}
332332

333333
public boolean renew() {

0 commit comments

Comments
 (0)