This is an automated email from the ASF dual-hosted git repository.

phunt pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 736189d  Fix typo in error log message, added missing space
736189d is described below

commit 736189d3930374e6760e0215445435d420291b17
Author: nicolasguyomar <[email protected]>
AuthorDate: Wed Feb 27 08:25:58 2019 -0800

    Fix typo in error log message, added missing space
    
    Fix typo in error log message, added missing space
    
    Author: nicolasguyomar <[email protected]>
    
    Reviewers: [email protected]
    
    Closes #837 from nicolasguyomar/patch-1
    
    Change-Id: I6ddf782aa1397908a436b57d709e4120104bb858
    (cherry picked from commit d0b60bd3cb4fe724fe5ed1670bb7d3e30842373a)
    Signed-off-by: Patrick Hunt <[email protected]>
---
 .../src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java
 
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java
index dbe47a2..b9582ce 100644
--- 
a/zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java
+++ 
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java
@@ -223,7 +223,7 @@ public abstract class ServerCnxnFactory {
             if (securityException != null && (loginContextName != null || 
jaasFile != null)) {
                 String errorMessage = "No JAAS configuration section named '" 
+ serverSection +  "' was found";
                 if (jaasFile != null) {
-                    errorMessage += "in '" + jaasFile + "'.";
+                    errorMessage += " in '" + jaasFile + "'.";
                 }
                 if (loginContextName != null) {
                     errorMessage += " But " + 
ZooKeeperSaslServer.LOGIN_CONTEXT_NAME_KEY + " was set.";

Reply via email to