Suppress deprecation warning in Gradle build
This commit is contained in:
parent
44659f4945
commit
4038d590a1
|
|
@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -165,6 +165,7 @@ public class ResponseEntityExceptionHandlerTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public void httpMessageNotReadable() {
|
public void httpMessageNotReadable() {
|
||||||
Exception ex = new HttpMessageNotReadableException("message");
|
Exception ex = new HttpMessageNotReadableException("message");
|
||||||
testException(ex);
|
testException(ex);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue