Repository: zookeeper
Updated Branches:
refs/heads/branch-3.5 48e090143 -> 0665cb75b
ZOOKEEPER-2744: Typos in the comments of ZooKeeper class
Author: Abraham Fine <afine@apache.org>
Reviewers: Michael Han <hanm@apache.org>, Edward Ribeiro <edward.ribeiro@gmail.com>
Closes #217 from afine/ZOOKEEPER-2744
Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/0665cb75
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/0665cb75
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/0665cb75
Branch: refs/heads/branch-3.5
Commit: 0665cb75b9a5257e92aaef0f866da13161cc7591
Parents: 48e0901
Author: Abraham Fine <afine@apache.org>
Authored: Mon Apr 17 17:02:22 2017 -0700
Committer: Michael Han <hanm@apache.org>
Committed: Mon Apr 17 17:02:22 2017 -0700
----------------------------------------------------------------------
src/java/main/org/apache/zookeeper/ZooKeeper.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zookeeper/blob/0665cb75/src/java/main/org/apache/zookeeper/ZooKeeper.java
----------------------------------------------------------------------
diff --git a/src/java/main/org/apache/zookeeper/ZooKeeper.java b/src/java/main/org/apache/zookeeper/ZooKeeper.java
index fd3323d..a2f6617 100644
--- a/src/java/main/org/apache/zookeeper/ZooKeeper.java
+++ b/src/java/main/org/apache/zookeeper/ZooKeeper.java
@@ -124,11 +124,11 @@ import java.util.Set;
* A client needs an object of a class implementing Watcher interface for
* processing the events delivered to the client.
*
- * When a client drops current connection and re-connects to a server, all the
+ * When a client drops the current connection and re-connects to a server, all the
* existing watches are considered as being triggered but the undelivered events
* are lost. To emulate this, the client will generate a special event to tell
- * the event handler a connection has been dropped. This special event has type
- * EventNone and state sKeeperStateDisconnected.
+ * the event handler a connection has been dropped. This special event has
+ * EventType None and KeeperState Disconnected.
*
*/
/*
|