Pārlūkot izejas kodu

ZOOKEEPER-4435: fix a tiny typo

Small typo in the log message.

Author: epugh@opensourceconnections.com <>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, maoling <maoling@apache.org>

Closes #1792 from epugh/ZOOKEEPER-4435 and squashes the following commits:

ba3d78153 [epugh@opensourceconnections.com] ZOOKEEPER-4435: typo
392b16bae [epugh@opensourceconnections.com] Revert "typo"
52db6bad4 [epugh@opensourceconnections.com] typo
epugh@opensourceconnections.com 3 gadi atpakaļ
vecāks
revīzija
a43b9ef0cb

+ 1 - 1
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 {}.",