zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject zookeeper git commit: ZOOKEEPER-2862: Incorrect javadoc syntax for web links in StaticHostProvider.java.
Date Thu, 03 Aug 2017 18:32:42 GMT
Repository: zookeeper
Updated Branches:
  refs/heads/master 3f7e4133f -> 69c8cbea1


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


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/69c8cbea
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/69c8cbea
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/69c8cbea

Branch: refs/heads/master
Commit: 69c8cbea1dcc95bb1b4eb01cbfd667a1bfba1f5d
Parents: 3f7e413
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:38 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/69c8cbea/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
 


Mime
View raw message