From 6f66bf3ff13a17ee9af6da4dd5340e823e8cff7e Mon Sep 17 00:00:00 2001 From: feynmanlin <315157973@qq.com> Date: Thu, 29 Aug 2024 22:36:57 +0800 Subject: [PATCH] fix check style --- .../java/org/apache/bookkeeper/client/BookKeeperAdmin.java | 4 ++-- .../org/apache/bookkeeper/bookie/ClusterInfoCommandTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java index 85ddc096df1..7bc99b2370f 100644 --- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java +++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java @@ -1559,8 +1559,8 @@ public void triggerAudit() } catch (IOException e) { if (e.getCause() instanceof KeeperException.NoNodeException) { LOG.error("Unable to find Zookeeper node: {}", e.getCause().getMessage()); - throw new UnavailableException("Autorecovery is disabled due to " + - "missing Zookeeper node. Aborting recovery!"); + throw new UnavailableException("Autorecovery is disabled due to " + + "missing Zookeeper node. Aborting recovery!"); } throw e; } diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/ClusterInfoCommandTest.java b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/ClusterInfoCommandTest.java index 1e833221a17..de6f68ab768 100644 --- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/ClusterInfoCommandTest.java +++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/ClusterInfoCommandTest.java @@ -70,8 +70,8 @@ public void testRecoveryDisabled() { fail("should failed"); } catch (Exception e) { assertTrue(e instanceof ReplicationException.UnavailableException); - assertTrue(e.getMessage().contains("Autorecovery is disabled due to missing Zookeeper node." + - " Aborting recovery")); + assertTrue(e.getMessage().contains("Autorecovery is disabled due to missing Zookeeper node." + + " Aborting recovery")); } }