Polish test code
Polish a few issue identified when adding checkstyle to the build. Although checkstyle is not enforcing rules on tests, these are a few minor changes that are still worth making. Issue: SPR-16968
This commit is contained in:
committed by
Juergen Hoeller
parent
81451aa800
commit
1c25cec44f
@@ -214,7 +214,7 @@ public class ModelInitializerTests {
|
||||
MethodIntrospector.selectMethods(controller.getClass(), BINDER_METHODS)
|
||||
.stream()
|
||||
.map(method -> new SyncInvocableHandlerMethod(controller, method))
|
||||
.collect(Collectors.toList());;
|
||||
.collect(Collectors.toList());
|
||||
|
||||
WebBindingInitializer bindingInitializer = new ConfigurableWebBindingInitializer();
|
||||
return new InitBinderBindingContext(bindingInitializer, binderMethods);
|
||||
|
||||
Reference in New Issue
Block a user