Browse Source

Make method params final for use in anonymous inner class

Issue: SPR-16587
pull/1742/head
Sam Brannen 8 years ago committed by GitHub
parent
commit
d57d914b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spring-test/src/main/java/org/springframework/test/web/servlet/result/JsonPathResultMatchers.java

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

@ -101,7 +101,7 @@ public class JsonPathResultMatchers { @@ -101,7 +101,7 @@ public class JsonPathResultMatchers {
* @see #value(Matcher)
* @see #value(Object)
*/
public <T> ResultMatcher value(Matcher<T> matcher, Class<T> targetType) {
public <T> ResultMatcher value(final Matcher<T> matcher, final Class<T> targetType) {
return new ResultMatcher() {
@Override
public void match(MvcResult result) throws Exception {

Loading…
Cancel
Save