Repository: zookeeper Updated Branches: refs/heads/master 6e91424b2 -> a43b98268
ZOOKEEPER-2744: Typos in the comments of ZooKeeper class Author: Abraham Fine <[email protected]> Reviewers: Michael Han <[email protected]>, Edward Ribeiro <[email protected]> Closes #217 from afine/ZOOKEEPER-2744 (cherry picked from commit 0665cb75b9a5257e92aaef0f866da13161cc7591) Signed-off-by: Michael Han <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/a43b9826 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/a43b9826 Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/a43b9826 Branch: refs/heads/master Commit: a43b98268bfe5aadfa8036b49dc8b1b8f0a4d67a Parents: 6e91424 Author: Abraham Fine <[email protected]> Authored: Mon Apr 17 17:02:22 2017 -0700 Committer: Michael Han <[email protected]> Committed: Mon Apr 17 17:02:29 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/a43b9826/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 d00b0be..193ceb9 100644 --- a/src/java/main/org/apache/zookeeper/ZooKeeper.java +++ b/src/java/main/org/apache/zookeeper/ZooKeeper.java @@ -122,11 +122,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. * */ /*
