Clean up warnings spring-test

This commit is contained in:
Sam Brannen 2017-01-16 03:21:43 +01:00
parent 83beb9d57d
commit c9835f0f6c
1 changed files with 1 additions and 1 deletions

View File

@ -940,7 +940,7 @@ public class MockHttpServletRequest implements HttpServletRequest {
this.headers.put(name, header);
}
if (value instanceof Collection) {
header.addValues((Collection) value);
header.addValues((Collection<?>) value);
}
else if (value.getClass().isArray()) {
header.addValueArray(value);