Skip to content

Commit ee522f6

Browse files
committed
Polish "Suppress deprecation warnings in RestDocumentationRequestBuildersTests"
See gh-821
1 parent 83fa37f commit ee522f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-restdocs-mockmvc/src/test/java/org/springframework/restdocs/mockmvc/RestDocumentationRequestBuildersTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2019 the original author or authors.
2+
* Copyright 2014-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -129,14 +129,14 @@ public void requestUri() {
129129
assertUri(request(HttpMethod.GET, URI.create("/uri")), HttpMethod.GET);
130130
}
131131

132-
@SuppressWarnings("deprecation")
133132
@Test
133+
@SuppressWarnings("deprecation")
134134
public void fileUploadTemplate() {
135135
assertTemplate(fileUpload("/{template}", "t"), HttpMethod.POST);
136136
}
137137

138-
@SuppressWarnings("deprecation")
139138
@Test
139+
@SuppressWarnings("deprecation")
140140
public void fileUploadUri() {
141141
assertUri(fileUpload(URI.create("/uri")), HttpMethod.POST);
142142
}

0 commit comments

Comments
 (0)