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 <hanm@apache.org>
Closes #326 from hanm/ZOOKEEPER-2862
(cherry picked from commit 69c8cbea1dcc95bb1b4eb01cbfd667a1bfba1f5d)
Signed-off-by: Michael Han <hanm@apache.org>
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 <hanm@apache.org>
Authored: Thu Aug 3 11:32:38 2017 -0700
Committer: Michael Han <hanm@apache.org>
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 <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-1355">ZOOKEEPER-1355</a>
+ * 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
|