Browse Source

Fix typo

pull/23006/head
Johnny Lim 6 years ago committed by Juergen Hoeller
parent
commit
21e163e5da
  1. 2
      spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/MessageMethodArgumentResolver.java
  2. 2
      spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/PayloadMethodArgumentResolver.java

2
spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/MessageMethodArgumentResolver.java

@ -103,7 +103,7 @@ public class MessageMethodArgumentResolver implements HandlerMethodArgumentResol @@ -103,7 +103,7 @@ public class MessageMethodArgumentResolver implements HandlerMethodArgumentResol
* return {@code String} if target type is {@code Object} and
* {@code "Content-Type:text/**"}.
* @param parameter the target method parameter
* @param message the message bring processed
* @param message the message being processed
* @return the target type to use
* @since 5.2
*/

2
spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/PayloadMethodArgumentResolver.java

@ -180,7 +180,7 @@ public class PayloadMethodArgumentResolver implements HandlerMethodArgumentResol @@ -180,7 +180,7 @@ public class PayloadMethodArgumentResolver implements HandlerMethodArgumentResol
* also taking into account the "Content-Type", e.g. return {@code String}
* if target type is {@code Object} and {@code "Content-Type:text/**"}.
* @param parameter the target method parameter
* @param message the message bring processed
* @param message the message being processed
* @return the target type to use
* @since 5.2
*/

Loading…
Cancel
Save