diff --git a/solr/core/src/java/org/apache/solr/cli/AuthTool.java b/solr/core/src/java/org/apache/solr/cli/AuthTool.java index d69abba4af8..d7e4ca715fc 100644 --- a/solr/core/src/java/org/apache/solr/cli/AuthTool.java +++ b/solr/core/src/java/org/apache/solr/cli/AuthTool.java @@ -413,9 +413,7 @@ private void handleBasicAuth(CommandLine cli) throws Exception { includeFile.toPath(), basicAuthConfFile.getAbsolutePath(), null); final String successMessage = String.format( - Locale.ROOT, - "Successfully enabled basic auth with username [%s].", - username); + Locale.ROOT, "Successfully enabled basic auth with username [%s].", username); echo(successMessage); return; case "disable":