Skip to content

Commit

Permalink
fix: spotless findings
Browse files Browse the repository at this point in the history
Signed-off-by: Malte Grebe-Lüth <[email protected]>
  • Loading branch information
belagertem committed Feb 27, 2025
1 parent dd82a5e commit e619fcd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,8 @@ public Injector getInjector() {
@Subscribe
void onConnectionLoss(final WatchdogMessage watchdogMessage) {
LOG.info("Watchdog detected disconnect from provider.");
if (shouldBeConnected.get() && reconnectState.compareAndSet(InternalReconnectState.ENABLED, InternalReconnectState.RECONNECTING)) {
if (shouldBeConnected.get()
&& reconnectState.compareAndSet(InternalReconnectState.ENABLED, InternalReconnectState.RECONNECTING)) {
LOG.info("The disconnect from provider was expected, trying to reconnect.");
if (reconnectExecutor.isRunning()) {
reconnectExecutor.get().submit(() -> {
Expand Down

0 comments on commit e619fcd

Please sign in to comment.