Clean up warnings in spring-test
This commit is contained in:
@@ -124,7 +124,6 @@ public abstract class MockRestRequestMatchers {
|
||||
* Assert request header values with the given Hamcrest matcher.
|
||||
*/
|
||||
@SafeVarargs
|
||||
@SuppressWarnings("unchecked")
|
||||
public static RequestMatcher header(final String name, final Matcher<? super String>... matchers) {
|
||||
return new RequestMatcher() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user