Skip to content

Commit d57d914

Browse files
authored
Make method params final for use in anonymous inner class
Issue: SPR-16587
1 parent 68463e2 commit d57d914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void match(MvcResult result) throws Exception {
101101
* @see #value(Matcher)
102102
* @see #value(Object)
103103
*/
104-
public <T> ResultMatcher value(Matcher<T> matcher, Class<T> targetType) {
104+
public <T> ResultMatcher value(final Matcher<T> matcher, final Class<T> targetType) {
105105
return new ResultMatcher() {
106106
@Override
107107
public void match(MvcResult result) throws Exception {

0 commit comments

Comments
 (0)