Skip to content

Commit 89ebdc7

Browse files
committed
Polishing
1 parent ea97fef commit 89ebdc7

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public <T> void assertValue(String content, Matcher<T> matcher) {
7979
* matching numbers reliably for example coercing an integer into a double.
8080
* @param content the JSON content
8181
* @param matcher the matcher with which to assert the result
82-
* @param targetType a the expected type of the resulting value
82+
* @param targetType the expected type of the resulting value
8383
* @since 4.3.3
8484
*/
8585
@SuppressWarnings("unchecked")

spring-test/src/main/java/org/springframework/test/web/servlet/ResultMatcher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 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.
@@ -65,7 +65,7 @@ public interface ResultMatcher {
6565
static ResultMatcher matchAll(ResultMatcher... matchers) {
6666
return result -> {
6767
for (ResultMatcher matcher : matchers) {
68-
matcher.match(result);
68+
matcher.match(result);
6969
}
7070
};
7171
}

spring-test/src/main/java/org/springframework/test/web/servlet/result/JsonPathResultMatchers.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 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.
@@ -34,7 +34,6 @@
3434
* <a href="https://github.com/jayway/JsonPath">JsonPath</a> expressions.
3535
*
3636
* <p>An instance of this class is typically accessed via
37-
* {@link MockMvcResultMatchers#jsonPath(String, Matcher)} or
3837
* {@link MockMvcResultMatchers#jsonPath(String, Object...)}.
3938
*
4039
* @author Rossen Stoyanchev

0 commit comments

Comments
 (0)