Skip to content

Commit

Permalink
Checkstyle fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanLennox committed Mar 1, 2024
1 parent 70531e7 commit fbb555f
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,17 @@ private PeriodicHealthCheckTask(Runnable task, long healthCheckInterval)
}

private final Runnable runInner = () -> {
synchronized (lock) {
synchronized (lock)
{
innerTask.run();
}
};

private void cancel() {
private void cancel()
{
future.cancel(true);
if (innerFuture != null) {
if (innerFuture != null)
{
innerFuture.cancel(true);
}
}
Expand Down

0 comments on commit fbb555f

Please sign in to comment.