Polishing

This commit is contained in:
Juergen Hoeller
2015-11-26 02:09:37 +01:00
parent a39867bd8e
commit 8c4436926f
3 changed files with 158 additions and 161 deletions

View File

@@ -314,7 +314,7 @@ public abstract class AbstractMethodMessageHandler<T>
* under the same mapping
*/
protected void registerHandlerMethod(Object handler, Method method, T mapping) {
Assert.notNull(mapping, "Mapping must bot be null");
Assert.notNull(mapping, "Mapping must not be null");
HandlerMethod newHandlerMethod = createHandlerMethod(handler, method);
HandlerMethod oldHandlerMethod = this.handlerMethods.get(mapping);