Skip to content

Commit

Permalink
Fix various javac and javadoc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Dutra committed Mar 2, 2017
1 parent 36643b3 commit e08417e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion driver-core/src/main/java/com/datastax/driver/core/Host.java
Expand Up @@ -458,10 +458,11 @@ public interface LifecycleAwareStateListener extends StateListener {
/**
* Gets invoked when the listener is registered with a cluster, or at cluster startup if the
* listener was registered at initialization with
* {@link com.datastax.driver.core.Cluster.Initializer#register(StateListener)}.
* {@link com.datastax.driver.core.Cluster#register(Host.StateListener)}.
*
* @param cluster the cluster that this listener is registered with.
*/
@Override
void onRegister(Cluster cluster);

/**
Expand All @@ -470,6 +471,7 @@ public interface LifecycleAwareStateListener extends StateListener {
*
* @param cluster the cluster that this listener was registered with.
*/
@Override
void onUnregister(Cluster cluster);
}
}
Expand Up @@ -165,7 +165,8 @@ public Builder(LoadBalancingPolicy childPolicy) {
* Defines the maximum number of errors allowed per minute for each host.
* <p/>
* The policy keeps track of the number of errors on each host (filtered by
* {@link #withErrorsFilter(ErrorFilter)}) over a sliding 1-minute window. If a host had more than this number
* {@link Builder#withErrorsFilter(com.datastax.driver.core.policies.ErrorAwarePolicy.ErrorFilter)})
* over a sliding 1-minute window. If a host had more than this number
* of errors, it will be excluded from the query plan for the duration defined by
* {@link #withRetryPeriod(long, TimeUnit)}.
* <p/>
Expand Down
Expand Up @@ -53,7 +53,7 @@
* </li>
* </ol>
*
* @jira_ticket JAVA-444
* @see <a href="https://datastax-oss.atlassian.net/browse/JAVA-444">JAVA-444</a>
* @see <a href="http://www.ietf.org/rfc/rfc4122.txt">A Universally Unique IDentifier (UUID) URN Namespace (RFC 4122)</a>
*/
public final class UUIDs {
Expand All @@ -68,7 +68,6 @@ public final class UUIDs {
private UUIDs() {
}

// http://www.ietf.org/rfc/rfc4122.txt
private static final long START_EPOCH = makeEpoch();
private static final long CLOCK_SEQ_AND_NODE = makeClockSeqAndNode();

Expand Down
Expand Up @@ -34,6 +34,7 @@
/**
* Integration test with an IdempotenceAwareRetryPolicy.
*/
@SuppressWarnings("deprecation")
public class IdempotenceAwareRetryPolicyIntegrationTest extends AbstractRetryPolicyIntegrationTest {

public IdempotenceAwareRetryPolicyIntegrationTest() {
Expand Down
Expand Up @@ -150,7 +150,7 @@ public void run() {
* This is also the place where you would normally configure JSON serialization, etc.
* <p>
* Note that in this example, we rely on the automatic discovery and configuration of
* Jackson through {@link org.glassfish.jersey.jackson.JacksonFeature}.
* Jackson through {@code org.glassfish.jersey.jackson.JacksonFeature}.
*/
public static class VideoApplication extends ResourceConfig {

Expand Down
Expand Up @@ -159,7 +159,7 @@ public void run() {
* This is also the place where you would normally configure JSON serialization, etc.
* <p/>
* Note that in this example, we rely on the automatic discovery and configuration of
* Jackson through {@link org.glassfish.jersey.jackson.JacksonFeature}.
* Jackson through {@code org.glassfish.jersey.jackson.JacksonFeature}.
*/
public static class VideoApplication extends ResourceConfig {

Expand Down

0 comments on commit e08417e

Please sign in to comment.