提交 6b3eba05 编写于 作者: S Sam Brannen

Suppress warnings in Gradle build

上级 64c388d5
......@@ -136,6 +136,7 @@ public class HttpRangeTests {
}
@Test(expected = IllegalArgumentException.class)
@SuppressWarnings("unchecked")
public void toResourceRegionExceptionLength() {
ByteArrayResource resource = mock(ByteArrayResource.class);
given(resource.contentLength()).willThrow(IOException.class);
......
......@@ -193,6 +193,7 @@ public class RequestHeaderMethodArgumentResolverTests {
}
@Test
@SuppressWarnings("deprecation")
public void dateConversion() throws Exception {
String rfc1123val = "Thu, 21 Apr 2016 17:11:08 +0100";
servletRequest.addHeader("name", rfc1123val);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册