From b6fdfe8ee330053bb9fc96f3afb0731c42288156 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 12 Sep 2023 19:00:28 +0200 Subject: [PATCH] Remove duplicated terms in documentation ... using the following RegEx to find them: (?Also provides methods for sending messages to a user. See * {@link org.springframework.messaging.simp.user.UserDestinationResolver - * UserDestinationResolver} - * for more on user destinations. + * UserDestinationResolver} for more on user destinations. * * @author Rossen Stoyanchev * @since 4.0 @@ -234,12 +233,11 @@ public class SimpMessagingTemplate extends AbstractMessageSendingTemplateEffectively treats the input header map as headers to be sent out to the * destination. - *

However if the given headers already contain the key - * {@code NATIVE_HEADERS NATIVE_HEADERS} then the same headers instance is - * returned without changes. + *

However if the given headers already contain the key {@code NATIVE_HEADERS} + * then the same headers instance is returned without changes. *

Also if the given headers were prepared and obtained with * {@link SimpMessageHeaderAccessor#getMessageHeaders()} then the same headers * instance is also returned without changes.