Polishing

This commit is contained in:
Juergen Hoeller
2015-11-02 21:30:03 +01:00
parent c3dbaed4ce
commit 23c8f712c4
2 changed files with 13 additions and 14 deletions

View File

@@ -51,8 +51,8 @@ public @interface SendToUser {
/**
* One or more destinations to send a message to.
* <p>If left unspecified, a default destination is selected based on
* the destination of the input message being handled.
* <p>If left unspecified, a default destination is selected based on the
* destination of the input message being handled.
* @since 4.2
* @see #value
* @see org.springframework.messaging.simp.annotation.support.SendToMethodReturnValueHandler
@@ -63,8 +63,7 @@ public @interface SendToUser {
/**
* Whether messages should be sent to all sessions associated with the user
* or only to the session of the input message being handled.
*
* <p>By default this is set to {@code true} in which case messages are
* <p>By default, this is set to {@code true} in which case messages are
* broadcast to all sessions.
*/
boolean broadcast() default true;