Repository: zookeeper
Updated Branches:
refs/heads/branch-3.4 0f83f5164 -> 8a0c6f421
ZOOKEEPER-2744: Typos in the comments of ZooKeeper class
Author: Abraham Fine <afine@apache.org>
Reviewers: Michael Han <hanm@apache.org>
Closes #219 from afine/ZOOKEEPER-2744_3.4
Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/8a0c6f42
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/8a0c6f42
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/8a0c6f42
Branch: refs/heads/branch-3.4
Commit: 8a0c6f4215a9c526a5a49282e35c84756f34e681
Parents: 0f83f51
Author: Abraham Fine <afine@apache.org>
Authored: Sat Apr 8 15:13:21 2017 -0700
Committer: Michael Han <hanm@apache.org>
Committed: Sat Apr 8 15:13:21 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/8a0c6f42/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 cabc4d5..ef5cd7d 100644
--- a/src/java/main/org/apache/zookeeper/ZooKeeper.java
+++ b/src/java/main/org/apache/zookeeper/ZooKeeper.java
@@ -76,11 +76,11 @@ import java.util.*;
* 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.
*
*/
public class ZooKeeper {
|