Skip to content

Commit b1a7a76

Browse files
author
michaldo
committed
Checkstyle
Signed-off-by: Michal Domagala <[email protected]>
1 parent 25cc297 commit b1a7a76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-integration-redis/src/main/java/org/springframework/integration/redis/util/RedisLockRegistry.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,8 @@ private void removeLockKey() {
580580
if (unlinkResult) {
581581
// Lock key successfully removed
582582
stopRenew();
583-
} else {
583+
}
584+
else {
584585
throw new ConcurrentModificationException("Lock was released in the store due to expiration. " +
585586
"The integrity of data protected by this lock may have been compromised.");
586587
}
@@ -801,8 +802,7 @@ private final class RedisSpinLock extends RedisLock {
801802

802803
private static final RedisScript<Boolean>
803804
UNLINK_UNLOCK_REDIS_SCRIPT = new DefaultRedisScript<>(UNLINK_UNLOCK_SCRIPT, Boolean.class);
804-
805-
805+
806806
private RedisSpinLock(String path) {
807807
super(path);
808808
}

0 commit comments

Comments
 (0)