Fix javadoc

This commit is contained in:
Rossen Stoyanchev
2013-08-27 12:48:48 -04:00
parent 3f130a1c08
commit 402a3b8473

View File

@@ -138,12 +138,10 @@ public class AnnotationMethodMessageHandler implements MessageHandler, Applicati
} }
/** /**
* Sets the custom list of {@code HandlerMethodArgumentResolver}s that will be used as * Sets the list of custom {@code HandlerMethodArgumentResolver}s that will be used
* the <em>first</em> argument resolvers when resolving the values of the mapped * after resolvers for supported argument type.
* methods.
* *
* @param customArgumentResolvers the custom argument resolvers to be used first; * @param customArgumentResolvers the list of resolvers; never {@code null}.
* never {@code null}.
*/ */
public void setCustomArgumentResolvers(List<HandlerMethodArgumentResolver> customArgumentResolvers) { public void setCustomArgumentResolvers(List<HandlerMethodArgumentResolver> customArgumentResolvers) {
Assert.notNull(customArgumentResolvers, "The 'customArgumentResolvers' cannot be null."); Assert.notNull(customArgumentResolvers, "The 'customArgumentResolvers' cannot be null.");
@@ -152,10 +150,9 @@ public class AnnotationMethodMessageHandler implements MessageHandler, Applicati
/** /**
* Set the list of custom {@code HandlerMethodReturnValueHandler}s that will be used * Set the list of custom {@code HandlerMethodReturnValueHandler}s that will be used
* as the <em>first</em> return value handlers when handling the method return values. * after return value handlers for known types.
* *
* @param customReturnValueHandlers the custom return value resolvers that will be * @param customReturnValueHandlers the list of custom return value handlers, never {@code null}.
* used first; never {@code null}.
*/ */
public void setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler> customReturnValueHandlers) { public void setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler> customReturnValueHandlers) {
Assert.notNull(customReturnValueHandlers, "The 'customReturnValueHandlers' cannot be null."); Assert.notNull(customReturnValueHandlers, "The 'customReturnValueHandlers' cannot be null.");