Polishing
This commit is contained in:
@@ -39,7 +39,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 {
|
||||
|
||||
@@ -44,7 +44,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 {
|
||||
|
||||
Reference in New Issue
Block a user