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 59E8C200CD9 for ; Thu, 3 Aug 2017 20:32:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5859116C3C0; Thu, 3 Aug 2017 18:32:54 +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 9E40416C3BF for ; Thu, 3 Aug 2017 20:32:53 +0200 (CEST) Received: (qmail 4886 invoked by uid 500); 3 Aug 2017 18:32:52 -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 4875 invoked by uid 99); 3 Aug 2017 18:32:52 -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; Thu, 03 Aug 2017 18:32:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8A3EEE02F3; Thu, 3 Aug 2017 18:32:52 +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: <79d396c1ba62400a8a66d41b2c03b04f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: zookeeper git commit: ZOOKEEPER-2862: Incorrect javadoc syntax for web links in StaticHostProvider.java. Date: Thu, 3 Aug 2017 18:32:52 +0000 (UTC) archived-at: Thu, 03 Aug 2017 18:32:54 -0000 Repository: zookeeper Updated Branches: refs/heads/branch-3.5 fce828668 -> 71dbe7406 ZOOKEEPER-2862: Incorrect javadoc syntax for web links in StaticHostProvider.java. Javadoc does not offer any special tagging for web links - the "link" etc is for linking with other javadocs of the classes / methods. Use normal html markup instead. This fixes warning messages generated when running "ant javadoc". Verified generated javadoc that the web link is functional. Author: Michael Han Closes #326 from hanm/ZOOKEEPER-2862 (cherry picked from commit 69c8cbea1dcc95bb1b4eb01cbfd667a1bfba1f5d) Signed-off-by: Michael Han Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/71dbe740 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/71dbe740 Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/71dbe740 Branch: refs/heads/branch-3.5 Commit: 71dbe74065d7139e216981009ad3d62c7a120761 Parents: fce8286 Author: Michael Han Authored: Thu Aug 3 11:32:38 2017 -0700 Committer: Michael Han Committed: Thu Aug 3 11:32:49 2017 -0700 ---------------------------------------------------------------------- .../main/org/apache/zookeeper/client/StaticHostProvider.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zookeeper/blob/71dbe740/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java ---------------------------------------------------------------------- diff --git a/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java b/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java index ef70f3f..cb53936 100644 --- a/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java +++ b/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java @@ -140,9 +140,11 @@ public final class StaticHostProvider implements HostProvider { * If true is returned, the function sets pOld and pNew that correspond to the probability to migrate to ones of the * new servers in serverAddresses or one of the old servers (migrating to one of the old servers is done only * if our client's currentHost is not in serverAddresses). See nextHostInReconfigMode for the selection logic. - * - * See {@link https://issues.apache.org/jira/browse/ZOOKEEPER-1355} for the protocol and its evaluation, and - * StaticHostProviderTest for the tests that illustrate how load balancing works with this policy. + * + * See ZOOKEEPER-1355 + * for the protocol and its evaluation, and StaticHostProviderTest for the tests that illustrate how load balancing + * works with this policy. + * * @param serverAddresses new host list * @param currentHost the host to which this client is currently connected * @return true if changing connections is necessary for load-balancing, false otherwise