Browse Source

Polishing

pull/934/head
Juergen Hoeller 9 years ago
parent
commit
beef5ff4c3
  1. 3
      spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java

3
spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java

@ -306,7 +306,7 @@ public class SimpAnnotationMethodMessageHandler extends AbstractMethodMessageHan @@ -306,7 +306,7 @@ public class SimpAnnotationMethodMessageHandler extends AbstractMethodMessageHan
protected List<HandlerMethodArgumentResolver> initArgumentResolvers() {
ConfigurableBeanFactory beanFactory = (getApplicationContext() instanceof ConfigurableApplicationContext ?
((ConfigurableApplicationContext) getApplicationContext()).getBeanFactory() : null);
((ConfigurableApplicationContext) getApplicationContext()).getBeanFactory() : null);
List<HandlerMethodArgumentResolver> resolvers = new ArrayList<HandlerMethodArgumentResolver>();
@ -411,6 +411,7 @@ public class SimpAnnotationMethodMessageHandler extends AbstractMethodMessageHan @@ -411,6 +411,7 @@ public class SimpAnnotationMethodMessageHandler extends AbstractMethodMessageHan
/**
* Resolve placeholder values in the given array of destinations.
* @return a new array with updated destinations
* @since 4.2
*/
protected String[] resolveEmbeddedValuesInDestinations(String[] destinations) {
if (this.valueResolver == null) {

Loading…
Cancel
Save