summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepugh@opensourceconnections.com <>2022-01-08 15:42:31 +0800
committermaoling <maoling@apache.org>2022-01-08 15:42:31 +0800
commita43b9ef0cb2147d6a27f9285f9db02de54a0174f (patch)
treeebd707b22905cf8120667e36a0eba2c527541d6f
parentbe3c3954e6bd940baf4b8d21b4b6a87a71f76ee6 (diff)
downloadzookeeper-a43b9ef0cb2147d6a27f9285f9db02de54a0174f.tar.gz
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
-rw-r--r--zookeeper-server/src/main/java/org/apache/zookeeper/server/ServerCnxnFactory.java2
1 files changed, 1 insertions, 1 deletions
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 3db1ca12d..62eded3ae 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 {}.",