mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-30 11:19:06 +00:00
Make method params final for use in anonymous inner class
Issue: SPR-16587
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user