Fix typos
See gh-2019
This commit is contained in:
@@ -38,7 +38,7 @@ import org.springframework.web.socket.WebSocketSession;
|
||||
* API method that expects a {@link WebSocketHandler}.
|
||||
*
|
||||
* <p>If initializing the target {@link WebSocketHandler} type requires a Spring
|
||||
* BeanFctory, then the {@link #setBeanFactory(BeanFactory)} property accordingly. Simply
|
||||
* BeanFactory, then the {@link #setBeanFactory(BeanFactory)} property accordingly. Simply
|
||||
* declaring this class as a Spring bean will do that. Otherwise, {@link WebSocketHandler}
|
||||
* instances of the target type will be created using the default constructor.
|
||||
*
|
||||
|
||||
@@ -452,7 +452,7 @@ public class MessageBrokerBeanDefinitionParserTests {
|
||||
|
||||
for (Class<? extends MessageHandler> subscriberType : subscriberTypes) {
|
||||
MessageHandler subscriber = this.appContext.getBean(subscriberType);
|
||||
assertNotNull("No subsription for " + subscriberType, subscriber);
|
||||
assertNotNull("No subscription for " + subscriberType, subscriber);
|
||||
assertTrue(channel.hasSubscription(subscriber));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user