From a69d7297bb6adc59c1e84ffc305a7efb1a382aa3 Mon Sep 17 00:00:00 2001 From: Andor Molnar Date: Mon, 26 Mar 2018 17:02:46 +0200 Subject: [PATCH] ZOOKEEPER-2994. Fix findbugs warning --- .../org/apache/zookeeper/server/persistence/TxnLogToolkit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/main/org/apache/zookeeper/server/persistence/TxnLogToolkit.java b/src/java/main/org/apache/zookeeper/server/persistence/TxnLogToolkit.java index c6fe0924232..c6703eaed08 100644 --- a/src/java/main/org/apache/zookeeper/server/persistence/TxnLogToolkit.java +++ b/src/java/main/org/apache/zookeeper/server/persistence/TxnLogToolkit.java @@ -305,7 +305,7 @@ private static void printHelpAndExit(int exitCode, Options options) { private void printStat() { if (recoveryMode) { - System.out.printf("Recovery file %s has been written with %d fixed CRC error(s)\n", recoveryLogFile, crcFixed); + System.out.printf("Recovery file %s has been written with %d fixed CRC error(s)%n", recoveryLogFile, crcFixed); } }