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

maoling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new a43b9ef  ZOOKEEPER-4435: fix a tiny typo
a43b9ef is described below

commit a43b9ef0cb2147d6a27f9285f9db02de54a0174f
Author: [email protected] <>
AuthorDate: Sat Jan 8 15:42:31 2022 +0800

    ZOOKEEPER-4435: fix a tiny typo
    
    Small typo in the log message.
    
    Author: [email protected] <>
    
    Reviewers: Enrico Olivelli <[email protected]>, maoling 
<[email protected]>
    
    Closes #1792 from epugh/ZOOKEEPER-4435 and squashes the following commits:
    
    ba3d78153 [[email protected]] ZOOKEEPER-4435: typo
    392b16bae [[email protected]] Revert "typo"
    52db6bad4 [[email protected]] typo
---
 .../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 3db1ca1..62eded3 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
@@ -303,7 +303,7 @@ public abstract class ServerCnxnFactory {
         maxCnxns = Integer.getInteger(ZOOKEEPER_MAX_CONNECTION, 
ZOOKEEPER_MAX_CONNECTION_DEFAULT);
         if (maxCnxns < 0) {
             maxCnxns = ZOOKEEPER_MAX_CONNECTION_DEFAULT;
-            LOG.warn("maxCnxns should be greater than or equal to 0, using 
default vlaue {}.",
+            LOG.warn("maxCnxns should be greater than or equal to 0, using 
default value {}.",
                     ZOOKEEPER_MAX_CONNECTION_DEFAULT);
         } else if (maxCnxns == ZOOKEEPER_MAX_CONNECTION_DEFAULT) {
             LOG.warn("maxCnxns is not configured, using default value {}.",

Reply via email to