mirror of https://github.com/apache/jclouds.git
Fix error-prone DepAnn
This commit is contained in:
parent
866ac3fabb
commit
db5acb8588
|
@ -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}")
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue