Remove unused annotations

This commit is contained in:
Andrew Donald Kennedy 2012-02-08 13:33:01 +00:00
parent 9153d887af
commit c771b2ac87
2 changed files with 0 additions and 2 deletions

View File

@ -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");

View File

@ -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()