Skip to content

Commit b6fdfe8

Browse files
committed
Remove duplicated terms in documentation
... using the following RegEx to find them: (?<!\S)(\w+)(?:\s+\1)+(?!\S)
1 parent 3459105 commit b6fdfe8

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

framework-docs/modules/ROOT/pages/core/beans/classpath-scanning.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ generated by the `BeanNameGenerator` strategy known to that scanner.
668668

669669
By default, the `AnnotationBeanNameGenerator` is used. For Spring
670670
xref:core/beans/classpath-scanning.adoc#beans-stereotype-annotations[stereotype annotations],
671-
if you supply a name via the the annotation's `value` attribute that name will be used as
671+
if you supply a name via the annotation's `value` attribute that name will be used as
672672
the name in the corresponding bean definition. This convention also applies when the
673673
following JSR-250 and JSR-330 annotations are used instead of Spring stereotype
674674
annotations: `@jakarta.annotation.ManagedBean`, `@javax.annotation.ManagedBean`,

framework-docs/modules/ROOT/pages/core/validation/beans-beans.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ input:
99
- xref:beans-constructor-binding[Constructor binding] - bind user input to a public data
1010
constructor, looking up constructor argument values in the user input.
1111
- xref:beans-beans[Property binding] - bind user input to setters, matching keys from the
12-
the user input to properties of the target object structure.
12+
user input to properties of the target object structure.
1313

1414
You can apply both constructor and property binding or only one.
1515

framework-docs/modules/ROOT/pages/data-access/jdbc/core.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ between ``SQLException``s and Spring's own `org.springframework.dao.DataAccessEx
824824
which is agnostic in regard to data access strategy. Implementations can be generic (for
825825
example, using SQLState codes for JDBC) or proprietary (for example, using Oracle error
826826
codes) for greater precision. This exception translation mechanism is used behind the
827-
the common `JdbcTemplate` and `JdbcTransactionManager` entry points which do not
827+
common `JdbcTemplate` and `JdbcTransactionManager` entry points which do not
828828
propagate `SQLException` but rather `DataAccessException`.
829829

830830
NOTE: As of 6.0, the default exception translator is `SQLExceptionSubclassTranslator`,

spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessagingTemplate.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
*
4040
* <p>Also provides methods for sending messages to a user. See
4141
* {@link org.springframework.messaging.simp.user.UserDestinationResolver
42-
* UserDestinationResolver}
43-
* for more on user destinations.
42+
* UserDestinationResolver} for more on user destinations.
4443
*
4544
* @author Rossen Stoyanchev
4645
* @since 4.0
@@ -234,12 +233,11 @@ public void convertAndSendToUser(String user, String destination, Object payload
234233

235234
/**
236235
* Creates a new map and puts the given headers under the key
237-
* {@link NativeMessageHeaderAccessor#NATIVE_HEADERS NATIVE_HEADERS NATIVE_HEADERS NATIVE_HEADERS}.
238-
* effectively treats the input header map as headers to be sent out to the
236+
* {@link NativeMessageHeaderAccessor#NATIVE_HEADERS NATIVE_HEADERS}.
237+
* <p>Effectively treats the input header map as headers to be sent out to the
239238
* destination.
240-
* <p>However if the given headers already contain the key
241-
* {@code NATIVE_HEADERS NATIVE_HEADERS} then the same headers instance is
242-
* returned without changes.
239+
* <p>However if the given headers already contain the key {@code NATIVE_HEADERS}
240+
* then the same headers instance is returned without changes.
243241
* <p>Also if the given headers were prepared and obtained with
244242
* {@link SimpMessageHeaderAccessor#getMessageHeaders()} then the same headers
245243
* instance is also returned without changes.

0 commit comments

Comments
 (0)