Make method params final for use in anonymous inner class

Issue: SPR-16587
This commit is contained in:
Sam Brannen
2018-03-13 17:10:54 +01:00
committed by GitHub
parent 68463e2018
commit d57d914b26

View File

@@ -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 {