Fix error-prone DepAnn

This commit is contained in:
Andrew Gaul 2015-03-29 16:46:10 -07:00
parent 866ac3fabb
commit db5acb8588
2 changed files with 5 additions and 0 deletions

View File

@ -189,6 +189,7 @@ public interface VolumeApi {
* To be removed in jclouds 2.0.
* @return the new Snapshot
*/
@Deprecated
@Named("volume:createSnapshot")
@POST
@Path("/os-snapshots")
@ -204,6 +205,7 @@ public interface VolumeApi {
* To be removed in jclouds 2.0.
* @return true if successful
*/
@Deprecated
@Named("volume:deleteSnapshot")
@DELETE
@Path("/os-snapshots/{id}")

View File

@ -149,6 +149,7 @@ public class Predicates2 {
/**
* @deprecated since 1.9.0; use {@link #nextMaxInterval(long, long)}
*/
@Deprecated
protected long nextMaxInterval(long attempt, Date end) {
return nextMaxInterval(attempt, end.getTime());
}
@ -173,6 +174,7 @@ public class Predicates2 {
/**
* @deprecated since 1.9.0; use {@link #nextMaxInterval(long, long)}
*/
@Deprecated
protected boolean before(Date end) {
return new Date().compareTo(end) <= 1;
}
@ -180,6 +182,7 @@ public class Predicates2 {
/**
* @deprecated since 1.9.0; use {@link #nextMaxInterval(long, long)}
*/
@Deprecated
protected boolean atOrAfter(Date end) {
return new Date().compareTo(end) >= 0;
}