Skip to content

Commit 6b3eba0

Browse files
committed
Suppress warnings in Gradle build
1 parent 64c388d commit 6b3eba0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spring-web/src/test/java/org/springframework/http/HttpRangeTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public void toResourceRegionIllegalLength() {
136136
}
137137

138138
@Test(expected = IllegalArgumentException.class)
139+
@SuppressWarnings("unchecked")
139140
public void toResourceRegionExceptionLength() {
140141
ByteArrayResource resource = mock(ByteArrayResource.class);
141142
given(resource.contentLength()).willThrow(IOException.class);

spring-web/src/test/java/org/springframework/web/method/annotation/RequestHeaderMethodArgumentResolverTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ public void notFound() throws Exception {
193193
}
194194

195195
@Test
196+
@SuppressWarnings("deprecation")
196197
public void dateConversion() throws Exception {
197198
String rfc1123val = "Thu, 21 Apr 2016 17:11:08 +0100";
198199
servletRequest.addHeader("name", rfc1123val);

0 commit comments

Comments
 (0)