DATACASS-350 - Add since version to existing deprecations.

This commit is contained in:
Mark Paluch
2016-10-24 11:58:22 +02:00
parent b7bdd4cd7c
commit 6b683f4346
13 changed files with 40 additions and 83 deletions

View File

@@ -20,7 +20,7 @@ package org.springframework.cassandra.core;
*
* @author David Webb
* @author Antoine Toulme
* @deprecated Use the driver's {@link com.datastax.driver.core.ConsistencyLevel}.
* @deprecated as of 1.5, use the driver's {@link com.datastax.driver.core.ConsistencyLevel}.
*/
@Deprecated
public enum ConsistencyLevel {
@@ -28,17 +28,17 @@ public enum ConsistencyLevel {
ANY, ONE, TWO, THREE,
/**
* @deprecated Use {@link #QUORUM}
* @deprecated as of 1.5, use {@link #QUORUM}
*/
@Deprecated QUOROM,
/**
* @deprecated Use {@link #LOCAL_QUORUM}
* @deprecated as of 1.5, use {@link #LOCAL_QUORUM}
*/
@Deprecated LOCAL_QUOROM,
/**
* @deprecated Use {@link #EACH_QUORUM}
* @deprecated as of 1.5, use {@link #EACH_QUORUM}
*/
@Deprecated EACH_QUOROM,

View File

@@ -22,7 +22,7 @@ import org.springframework.util.Assert;
*
* @author David Webb
* @author Antoine Toulme
* @deprecated Use the driver's {@link com.datastax.driver.core.ConsistencyLevel}.
* @deprecated as of 1.5, use the driver's {@link com.datastax.driver.core.ConsistencyLevel}.
*/
@Deprecated
public final class ConsistencyLevelResolver {

View File

@@ -72,7 +72,7 @@ public class QueryOptions {
* Returns the {@link ConsistencyLevel}.
*
* @return the consistencyLevel.
* @deprecated Use {@link #setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel)}
* @deprecated as of 1.5, use {@link #setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel)}
*/
@Deprecated
public ConsistencyLevel getConsistencyLevel() {

View File

@@ -21,7 +21,7 @@ package org.springframework.cassandra.core;
*
* @author David Webb
* @author Mark Paluch
* @deprecated Use the driver's {@link com.datastax.driver.core.policies.RetryPolicy}.
* @deprecated as of 1.5, use the driver's {@link com.datastax.driver.core.policies.RetryPolicy}.
*/
@Deprecated
public enum RetryPolicy {