From 4038d590a164822220ca296c20d9085a53cdd480 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 8 May 2019 17:18:41 +0200 Subject: [PATCH] Suppress deprecation warning in Gradle build --- .../method/annotation/ResponseEntityExceptionHandlerTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ResponseEntityExceptionHandlerTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ResponseEntityExceptionHandlerTests.java index 342361cd93..ed1de663b7 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ResponseEntityExceptionHandlerTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ResponseEntityExceptionHandlerTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -165,6 +165,7 @@ public class ResponseEntityExceptionHandlerTests { } @Test + @SuppressWarnings("deprecation") public void httpMessageNotReadable() { Exception ex = new HttpMessageNotReadableException("message"); testException(ex);