Supress some warnings
Patch provided by sebb
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@884937
13f79535-47bb-0310-9956-
ffa450edef68
}
@Override
+ @SuppressWarnings("unchecked") // Can't use Class<?> because API needs to match specification in super-class
public Object getContext(Class key) {
return this.elContext.getContext(key);
}
}
@Override
+ @SuppressWarnings("unchecked") // Can't use Class<?> because API needs to match specification in super-class
public void putContext(Class key, Object contextObject) {
this.elContext.putContext(key, contextObject);
}
}
@Override
+ @SuppressWarnings("unchecked") // Can't use Class<?> because API needs to match super-class specification
public Object getContext(Class key) {
return this.target.getContext(key);
}
}
@Override
+ @SuppressWarnings("unchecked") // Can't use Class<?> because API needs to match super-class specification
public void putContext(Class key, Object contextObject) throws NullPointerException {
this.target.putContext(key, contextObject);
}