Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Aireed committed Feb 10, 2025
1 parent fb4aaf6 commit 2c48368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void release(Blocker blocker) {
} finally {
// Regardless of whether the lock was successfully released, we will no longer renew the lock.
if (blocker instanceof RenewableBlocker) {
((RenewableBlocker)blocker).cancelRenew();
((RenewableBlocker) blocker).cancelRenew();
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ public void testBlockAndRelease() throws OperationConflictException {
Assert.assertTrue(block instanceof RenewableBlocker);

blockerManager.release(block);
Assert.assertTrue(((RenewableBlocker)block).getRenewTaskFuture() == null);
Assert.assertTrue(((RenewableBlocker) block).getRenewTaskFuture() == null);
}
}

0 comments on commit 2c48368

Please sign in to comment.