Minor non functional change. Dont concat in slf4j loggers and
Wordeding for info message
@@ -123,7 +123,6 @@ public enum CliDelegate {
final List<InputStream> keyGetConfigs = getKeyGenConfig(commandLine);
-
try (InputStream in = Files.newInputStream(path)) {
this.config = configFactory.create(in, keyGetConfigs.toArray(new InputStream[0]));
}
@@ -178,10 +177,10 @@ public enum CliDelegate {
final Path pidFilePath = Paths.get(commandLine.getOptionValue("pidfile"));
if (Files.exists(pidFilePath)) {
- LOGGER.info("File already exists " + pidFilePath);
+ LOGGER.info("File already exists {}", pidFilePath);
} else {
Files.createFile(pidFilePath);
- LOGGER.info("Creating pid file " + pidFilePath);
+ LOGGER.info("Created pid file {}", pidFilePath);
}
final String pid = ManagementFactory.getRuntimeMXBean().getName().split("@")[0];
