Permalink
Browse files

Make method params final for use in anonymous inner class

Issue: SPR-16587
  • Loading branch information...
sbrannen committed Mar 13, 2018
1 parent 68463e2 commit d57d914b264475a7c8ee756179738d4824381ca2
@@ -101,7 +101,7 @@ public void match(MvcResult result) throws Exception {
* @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 {

0 comments on commit d57d914

Please sign in to comment.