Forráskód Böngészése

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
Michael Han 8 éve
szülő
commit
69c8cbea1d

+ 5 - 3
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