Skip to content

Commit c15f27c

Browse files
committed
Avoid package import cycle through explicit javadoc reference
1 parent 66bab2a commit c15f27c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spring-messaging/src/main/java/org/springframework/messaging/simp/user/UserSessionRegistryAdapter.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import java.util.Map;
2323
import java.util.Set;
2424

25-
import org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration;
2625
import org.springframework.util.CollectionUtils;
2726

2827
/**
@@ -31,9 +30,9 @@
3130
* Due to the more limited information available, methods such as
3231
* {@link #getUsers()} and {@link #findSubscriptions} are not supported.
3332
*
34-
* <p>As of 4.2 this adapter is used only in applications that explicitly
33+
* <p>As of 4.2, this adapter is used only in applications that explicitly
3534
* register a custom {@code UserSessionRegistry} bean by overriding
36-
* {@link AbstractMessageBrokerConfiguration#userSessionRegistry()}.
35+
* {@link org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration#userSessionRegistry()}.
3736
*
3837
* @author Rossen Stoyanchev
3938
* @since 4.2
@@ -67,8 +66,8 @@ public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher)
6766

6867

6968
/**
70-
* Expose the only information available from a UserSessionRegistry (name
71-
* and session id's) as a {@code SimpUser}.
69+
* Expose the only information available from a UserSessionRegistry
70+
* (name and session id's) as a {@code SimpUser}.
7271
*/
7372
private static class SimpUserAdapter implements SimpUser {
7473

@@ -105,9 +104,10 @@ public Set<SimpSession> getSessions() {
105104
}
106105
}
107106

107+
108108
/**
109-
* Expose the only information available from a UserSessionRegistry (session
110-
* id's but no subscriptions) as a {@code SimpSession}.
109+
* Expose the only information available from a UserSessionRegistry
110+
* (session ids but no subscriptions) as a {@code SimpSession}.
111111
*/
112112
private static class SimpSessionAdapter implements SimpSession {
113113

0 commit comments

Comments
 (0)