Skip to content

Commit beef5ff

Browse files
committed
Polishing
1 parent ca9a078 commit beef5ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public final void stop(Runnable callback) {
306306

307307
protected List<HandlerMethodArgumentResolver> initArgumentResolvers() {
308308
ConfigurableBeanFactory beanFactory = (getApplicationContext() instanceof ConfigurableApplicationContext ?
309-
((ConfigurableApplicationContext) getApplicationContext()).getBeanFactory() : null);
309+
((ConfigurableApplicationContext) getApplicationContext()).getBeanFactory() : null);
310310

311311
List<HandlerMethodArgumentResolver> resolvers = new ArrayList<HandlerMethodArgumentResolver>();
312312

@@ -411,6 +411,7 @@ private SimpMessageMappingInfo createSubscribeMappingCondition(String[] destinat
411411
/**
412412
* Resolve placeholder values in the given array of destinations.
413413
* @return a new array with updated destinations
414+
* @since 4.2
414415
*/
415416
protected String[] resolveEmbeddedValuesInDestinations(String[] destinations) {
416417
if (this.valueResolver == null) {

0 commit comments

Comments
 (0)