Suppress deprecation warnings

This commit is contained in:
Sam Brannen
2019-05-09 13:21:42 +02:00
parent dc1c110288
commit e465f51d56
7 changed files with 14 additions and 10 deletions

View File

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