mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 15:08:28 +00:00
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;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
@Override
|
@Override
|
||||||
public T apply(Exception from) {
|
public T apply(Exception from) {
|
||||||
checkNotNull(from, "exception");
|
checkNotNull(from, "exception");
|
||||||
|
@ -418,7 +418,6 @@ public abstract class BaseRestClientExpectTest<S> {
|
|||||||
protected String identity = "identity";
|
protected String identity = "identity";
|
||||||
protected String credential = "credential";
|
protected String credential = "credential";
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
private RestContextSpec<S, ?> makeContextSpec() {
|
private RestContextSpec<S, ?> makeContextSpec() {
|
||||||
if (getClass().isAnnotationPresent(RegisterContext.class))
|
if (getClass().isAnnotationPresent(RegisterContext.class))
|
||||||
return (RestContextSpec<S, ?>) contextSpec(provider, "http://mock", "1", "", "", "userfoo", null, getClass()
|
return (RestContextSpec<S, ?>) contextSpec(provider, "http://mock", "1", "", "", "userfoo", null, getClass()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user