mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Suppress deprecation warnings
This commit is contained in:
+1
@@ -133,6 +133,7 @@ public class DefaultHandlerExceptionResolverTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("deprecation")
|
||||
public void handleHttpMessageNotReadable() {
|
||||
HttpMessageNotReadableException ex = new HttpMessageNotReadableException("foo");
|
||||
ModelAndView mav = exceptionResolver.resolveException(request, response, null, ex);
|
||||
|
||||
Reference in New Issue
Block a user