From 50e4acd6cdfe909072d9c39948ffcc87954a7c09 Mon Sep 17 00:00:00 2001 From: john-sobrepena-partior Date: Fri, 5 Jul 2024 09:54:11 +0800 Subject: [PATCH] SET-530 fix spotless java report --- .../main/java/com/quorum/tessera/launcher/Launcher.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tessera-dist/src/main/java/com/quorum/tessera/launcher/Launcher.java b/tessera-dist/src/main/java/com/quorum/tessera/launcher/Launcher.java index 988d6a52c..0228aca22 100644 --- a/tessera-dist/src/main/java/com/quorum/tessera/launcher/Launcher.java +++ b/tessera-dist/src/main/java/com/quorum/tessera/launcher/Launcher.java @@ -86,7 +86,7 @@ public List launchServer(final Config config) throws Exception { final ServerConfig recoveryP2PServer = config.getP2PServerConfig(); final IntervalPropertyHelper intervalPropertyHelper = - new IntervalPropertyHelper(config.getP2PServerConfig().getProperties()); + new IntervalPropertyHelper(config.getP2PServerConfig().getProperties()); final Object app = ServiceLoader.load(TesseraApp.class).stream() @@ -119,8 +119,11 @@ public List launchServer(final Config config) throws Exception { recoveryServer.start(); LOGGER.debug("Started recovery server"); - final var waitTimeBeforeRecoveryStartsInMillis = intervalPropertyHelper.partyInfoInterval() * 2L; - LOGGER.info("Waiting for nodes to synchronise with peers for {} seconds", waitTimeBeforeRecoveryStartsInMillis / 1000L); + final var waitTimeBeforeRecoveryStartsInMillis = + intervalPropertyHelper.partyInfoInterval() * 2L; + LOGGER.info( + "Waiting for nodes to synchronise with peers for {} seconds", + waitTimeBeforeRecoveryStartsInMillis / 1000L); Thread.sleep(waitTimeBeforeRecoveryStartsInMillis); final int exitCode = Recovery.create().recover();