Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 37D19200C5F for ; Sun, 9 Apr 2017 00:13:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3651A160B96; Sat, 8 Apr 2017 22:13:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7EB7C160B93 for ; Sun, 9 Apr 2017 00:13:16 +0200 (CEST) Received: (qmail 1147 invoked by uid 500); 8 Apr 2017 22:13:14 -0000 Mailing-List: contact commits-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 1136 invoked by uid 99); 8 Apr 2017 22:13:14 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2017 22:13:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C3CF1E024D; Sat, 8 Apr 2017 22:13:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hanm@apache.org To: commits@zookeeper.apache.org Message-Id: <8a57e94ef71a4993a4bbd1e21533bfab@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: zookeeper git commit: ZOOKEEPER-2744: Typos in the comments of ZooKeeper class Date: Sat, 8 Apr 2017 22:13:14 +0000 (UTC) archived-at: Sat, 08 Apr 2017 22:13:17 -0000 Repository: zookeeper Updated Branches: refs/heads/branch-3.4 0f83f5164 -> 8a0c6f421 ZOOKEEPER-2744: Typos in the comments of ZooKeeper class Author: Abraham Fine Reviewers: Michael Han 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 Authored: Sat Apr 8 15:13:21 2017 -0700 Committer: Michael Han 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 {