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