mirror of https://github.com/apache/jclouds.git
Remove unused annotations
This commit is contained in:
parent
9153d887af
commit
c771b2ac87
|
@ -44,7 +44,6 @@ public class ExceptionToValueOrPropagate<E extends Exception, T> implements Func
|
|||
this.value = value;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public T apply(Exception from) {
|
||||
checkNotNull(from, "exception");
|
||||
|
|
|
@ -418,7 +418,6 @@ public abstract class BaseRestClientExpectTest<S> {
|
|||
protected String identity = "identity";
|
||||
protected String credential = "credential";
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private RestContextSpec<S, ?> makeContextSpec() {
|
||||
if (getClass().isAnnotationPresent(RegisterContext.class))
|
||||
return (RestContextSpec<S, ?>) contextSpec(provider, "http://mock", "1", "", "", "userfoo", null, getClass()
|
||||
|
|
Loading…
Reference in New Issue