Elffuss BraidHub

kikocis/java-driver public

Fix various javac and javadoc warnings
Changesetda3bbee57066a8ed1d64079cc0279ed66eab8278f0711b474321a17a12176d4c
AuthorAlexandre Dutra <alexandre.dutra@datastax.com> · 2017-03-02 11:20 +01:00
CommitterAlexandre Dutra <alexandre.dutra@datastax.com> · 2017-03-02 11:21 +01:00
Parentsdfb47c04f71c

Browse the files at this changeset

6 files changed

modified driver-core/src/main/java/com/datastax/driver/core/Host.java +3 −1
@@ -458,10 +458,11 @@
458458 /**
459459 * Gets invoked when the listener is registered with a cluster, or at cluster startup if the
460460 * listener was registered at initialization with
461- * {@link com.datastax.driver.core.Cluster.Initializer#register(StateListener)}.
461+ * {@link com.datastax.driver.core.Cluster#register(Host.StateListener)}.
462462 *
463463 * @param cluster the cluster that this listener is registered with.
464464 */
465+ @Override
465466 void onRegister(Cluster cluster);
466467
467468 /**
@@ -470,6 +471,7 @@
470471 *
471472 * @param cluster the cluster that this listener was registered with.
472473 */
474+ @Override
473475 void onUnregister(Cluster cluster);
474476 }
475477 }
modified driver-core/src/main/java/com/datastax/driver/core/policies/ErrorAwarePolicy.java +2 −1
@@ -165,7 +165,8 @@
165165 * Defines the maximum number of errors allowed per minute for each host.
166166 * <p/>
167167 * The policy keeps track of the number of errors on each host (filtered by
168- * {@link #withErrorsFilter(ErrorFilter)}) over a sliding 1-minute window. If a host had more than this number
168+ * {@link Builder#withErrorsFilter(com.datastax.driver.core.policies.ErrorAwarePolicy.ErrorFilter)})
169+ * over a sliding 1-minute window. If a host had more than this number
169170 * of errors, it will be excluded from the query plan for the duration defined by
170171 * {@link #withRetryPeriod(long, TimeUnit)}.
171172 * <p/>
modified driver-core/src/main/java/com/datastax/driver/core/utils/UUIDs.java +1 −2
@@ -53,7 +53,7 @@
5353 * </li>
5454 * </ol>
5555 *
56- * @jira_ticket JAVA-444
56+ * @see <a href="https://datastax-oss.atlassian.net/browse/JAVA-444">JAVA-444</a>
5757 * @see <a href="http://www.ietf.org/rfc/rfc4122.txt">A Universally Unique IDentifier (UUID) URN Namespace (RFC 4122)</a>
5858 */
5959 public final class UUIDs {
@@ -68,7 +68,6 @@
6868 private UUIDs() {
6969 }
7070
71- // http://www.ietf.org/rfc/rfc4122.txt
7271 private static final long START_EPOCH = makeEpoch();
7372 private static final long CLOCK_SEQ_AND_NODE = makeClockSeqAndNode();
7473
modified driver-core/src/test/java/com/datastax/driver/core/policies/IdempotenceAwareRetryPolicyIntegrationTest.java +1 −0
@@ -34,6 +34,7 @@
3434 /**
3535 * Integration test with an IdempotenceAwareRetryPolicy.
3636 */
37+@SuppressWarnings("deprecation")
3738 public class IdempotenceAwareRetryPolicyIntegrationTest extends AbstractRetryPolicyIntegrationTest {
3839
3940 public IdempotenceAwareRetryPolicyIntegrationTest() {
modified driver-examples/src/main/java/com/datastax/driver/examples/paging/ForwardPagingRestUi.java +1 −1
@@ -150,7 +150,7 @@
150150 * This is also the place where you would normally configure JSON serialization, etc.
151151 * <p>
152152 * Note that in this example, we rely on the automatic discovery and configuration of
153- * Jackson through {@link org.glassfish.jersey.jackson.JacksonFeature}.
153+ * Jackson through {@code org.glassfish.jersey.jackson.JacksonFeature}.
154154 */
155155 public static class VideoApplication extends ResourceConfig {
156156
modified driver-examples/src/main/java/com/datastax/driver/examples/paging/RandomPagingRestUi.java +1 −1
@@ -159,7 +159,7 @@
159159 * This is also the place where you would normally configure JSON serialization, etc.
160160 * <p/>
161161 * Note that in this example, we rely on the automatic discovery and configuration of
162- * Jackson through {@link org.glassfish.jersey.jackson.JacksonFeature}.
162+ * Jackson through {@code org.glassfish.jersey.jackson.JacksonFeature}.
163163 */
164164 public static class VideoApplication extends ResourceConfig {
165165