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 2018/05/16 17:31:04 UTC

zookeeper git commit: ZOOKEEPER-3041: Typo in error message, affects log analysis; charater --> character

Repository: zookeeper
Updated Branches:
  refs/heads/master 2fa315b7d -> dacd27568


ZOOKEEPER-3041: Typo in error message, affects log analysis; charater --> character

Author: Hugh O'Brien <hu...@jet.com>

Reviewers: phunt@apache.org

Closes #498 from hughobrienjet/master

Change-Id: I3f4145c5c3eb4052cd7f0859053bb3711dfdd64c


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/dacd2756
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/dacd2756
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/dacd2756

Branch: refs/heads/master
Commit: dacd27568c0a20244d40f42ff8ee84b5f917128e
Parents: 2fa315b
Author: Hugh O'Brien <hu...@jet.com>
Authored: Wed May 16 10:30:31 2018 -0700
Committer: Patrick Hunt <ph...@apache.org>
Committed: Wed May 16 10:30:31 2018 -0700

----------------------------------------------------------------------
 src/java/main/org/apache/zookeeper/common/PathUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/dacd2756/src/java/main/org/apache/zookeeper/common/PathUtils.java
----------------------------------------------------------------------
diff --git a/src/java/main/org/apache/zookeeper/common/PathUtils.java b/src/java/main/org/apache/zookeeper/common/PathUtils.java
index 3462c61..d80feab 100644
--- a/src/java/main/org/apache/zookeeper/common/PathUtils.java
+++ b/src/java/main/org/apache/zookeeper/common/PathUtils.java
@@ -90,7 +90,7 @@ public class PathUtils {
                     || c >= '\u007f' && c <= '\u009F'
                     || c >= '\ud800' && c <= '\uf8ff'
                     || c >= '\ufff0' && c <= '\uffff') {
-                reason = "invalid charater @" + i;
+                reason = "invalid character @" + i;
                 break;
             }
         }