Polishing

This commit is contained in:
Juergen Hoeller
2019-06-12 18:04:06 +02:00
parent 7622d1e3fa
commit 1d5a43f485
19 changed files with 40 additions and 40 deletions

View File

@@ -40,7 +40,7 @@ import org.springframework.messaging.Message;
* @author Stephane Nicoll
* @since 4.0
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SendTo {

View File

@@ -40,7 +40,7 @@ import org.springframework.core.annotation.AliasFor;
* @see org.springframework.messaging.simp.user.UserDestinationMessageHandler
* @see org.springframework.messaging.simp.SimpMessageHeaderAccessor#getUser()
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SendToUser {
@@ -68,7 +68,7 @@ public @interface SendToUser {
* 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
* broadcast to all sessions.
*/
boolean broadcast() default true;
*/
boolean broadcast() default true;
}