You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by ph...@apache.org on 2019/02/27 16:27:27 UTC

[zookeeper] branch branch-3.4 updated: Fix typo in error log message, added missing space

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

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


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

commit 25f74c936ebd0bf9447b97cf4ef69f3d65d15d00
Author: nicolasguyomar <ni...@gmail.com>
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 <ni...@gmail.com>
    
    Reviewers: phunt@apache.org
    
    Closes #837 from nicolasguyomar/patch-1
    
    Change-Id: I6ddf782aa1397908a436b57d709e4120104bb858
    (cherry picked from commit d0b60bd3cb4fe724fe5ed1670bb7d3e30842373a)
    Signed-off-by: Patrick Hunt <ph...@apache.org>
---
 .../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 92d793f..67445f4 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
@@ -202,7 +202,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.";