From 402a3b8473c976a07e40d2cf8a663267ca7e2dec Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 27 Aug 2013 12:48:48 -0400 Subject: [PATCH] Fix javadoc --- .../handler/AnnotationMethodMessageHandler.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/AnnotationMethodMessageHandler.java b/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/AnnotationMethodMessageHandler.java index 6ffa8f67a32..43314c04f7a 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/AnnotationMethodMessageHandler.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/AnnotationMethodMessageHandler.java @@ -138,12 +138,10 @@ public class AnnotationMethodMessageHandler implements MessageHandler, Applicati } /** - * Sets the custom list of {@code HandlerMethodArgumentResolver}s that will be used as - * the first argument resolvers when resolving the values of the mapped - * methods. + * Sets the list of custom {@code HandlerMethodArgumentResolver}s that will be used + * after resolvers for supported argument type. * - * @param customArgumentResolvers the custom argument resolvers to be used first; - * never {@code null}. + * @param customArgumentResolvers the list of resolvers; never {@code null}. */ public void setCustomArgumentResolvers(List customArgumentResolvers) { 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 - * as the first 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 - * used first; never {@code null}. + * @param customReturnValueHandlers the list of custom return value handlers, never {@code null}. */ public void setCustomReturnValueHandlers(List customReturnValueHandlers) { Assert.notNull(customReturnValueHandlers, "The 'customReturnValueHandlers' cannot be null.");