Skip to content

Commit 3e3f046

Browse files
committed
Polishing
1 parent 5847454 commit 3e3f046

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

spring-test/src/main/java/org/springframework/test/web/client/match/MockRestRequestMatchers.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public static RequestMatcher requestTo(URI uri) {
115115

116116
/**
117117
* Assert request query parameter values with the given Hamcrest matcher(s).
118-
* <p> Note that if the queryParam value list is larger than the number of provided
118+
* <p>Note that if the queryParam value list is larger than the number of provided
119119
* {@code matchers}, extra values are considered acceptable.
120120
* See {@link #queryParam(String, Matcher)} for a variant that takes a
121121
* {@code Matcher} over the whole list of values.
@@ -134,7 +134,7 @@ public static RequestMatcher queryParam(String name, Matcher<? super String>...
134134

135135
/**
136136
* Assert request query parameter values.
137-
* <p> Note that if the queryParam value list is larger than {@code expectedValues},
137+
* <p>Note that if the queryParam value list is larger than {@code expectedValues},
138138
* extra values are considered acceptable.
139139
* See {@link #queryParam(String, Matcher)} for a variant that takes a
140140
* {@code Matcher} over the whole list of values.
@@ -152,12 +152,12 @@ public static RequestMatcher queryParam(String name, String... expectedValues) {
152152

153153
/**
154154
* Assert request query parameter, matching on the whole {@code List} of values.
155-
* <p> This can be used to check that the list has at least one value matching a
155+
* <p>This can be used to check that the list has at least one value matching a
156156
* criteria ({@link Matchers#hasItem(Matcher)}), or that every value in the list
157157
* matches a common criteria ({@link Matchers#everyItem(Matcher)}), or that each
158158
* value in the list matches its corresponding dedicated criteria
159159
* ({@link Matchers#contains(Matcher[])}, and more.
160-
* @param name the name of the queryParam to consider
160+
* @param name the name of the query parameter to consider
161161
* @param matcher the matcher to apply to the whole list of values for that header
162162
* @since 6.0.5
163163
*/
@@ -192,7 +192,7 @@ private static void assertValueCount(
192192

193193
/**
194194
* Assert request header values with the given Hamcrest matcher(s).
195-
* <p> Note that if the header's value list is larger than the number of provided
195+
* <p>Note that if the header's value list is larger than the number of provided
196196
* {@code matchers}, extra values are considered acceptable.
197197
* See {@link #header(String, Matcher)} for a variant that takes a {@code Matcher}
198198
* over the whole list of values.
@@ -212,7 +212,7 @@ public static RequestMatcher header(String name, Matcher<? super String>... matc
212212

213213
/**
214214
* Assert request header values.
215-
* <p> Note that if the header's value list is larger than {@code expectedValues},
215+
* <p>Note that if the header's value list is larger than {@code expectedValues},
216216
* extra values are considered acceptable.
217217
* See {@link #header(String, Matcher)} for a variant that takes a {@code Matcher}
218218
* over the whole list of values.
@@ -231,12 +231,12 @@ public static RequestMatcher header(String name, String... expectedValues) {
231231

232232
/**
233233
* Assert request header, matching on the whole {@code List} of values.
234-
* <p> This can be used to check that the list has at least one value matching a
234+
* <p>This can be used to check that the list has at least one value matching a
235235
* criteria ({@link Matchers#hasItem(Matcher)}), or that every value in the list
236236
* matches a common criteria ({@link Matchers#everyItem(Matcher)}), or that each
237237
* value in the list matches its corresponding dedicated criteria
238238
* ({@link Matchers#contains(Matcher[])}, and more.
239-
* @param name the name of the header to consider
239+
* @param name the name of the request header to consider
240240
* @param matcher the matcher to apply to the whole list of values for that header
241241
* @since 6.0.5
242242
*/

spring-webmvc/src/main/java/org/springframework/web/servlet/resource/EncodedResourceResolver.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ static final class EncodedResource extends AbstractResource implements HttpResou
201201
this.encoded = original.createRelative(original.getFilename() + extension);
202202
}
203203

204-
205204
@Override
206205
public boolean exists() {
207206
return this.encoded.exists();

0 commit comments

Comments
 (0)