From ac722772588633508690940ca40b928c81f90a63 Mon Sep 17 00:00:00 2001 From: Sanghyuk Jung Date: Thu, 19 Aug 2021 01:17:42 +0900 Subject: [PATCH 1/2] Fix duplicate "the" in Javadoc and XSD See gh-27291 --- .../java/org/springframework/asm/RecordComponentWriter.java | 2 +- .../java/org/springframework/cglib/core/KeyFactory.java | 2 +- .../java/org/springframework/util/ConcurrentLruCache.java | 2 +- .../simp/config/AbstractMessageBrokerConfiguration.java | 2 +- .../r2dbc/core/AbstractDatabaseClientIntegrationTests.java | 2 +- ...AbstractTransactionalDatabaseClientIntegrationTests.java | 2 +- .../springframework/web/reactive/socket/HandshakeInfo.java | 2 +- .../web/servlet/mvc/condition/PatternsRequestCondition.java | 6 +++--- .../web/servlet/mvc/method/RequestMappingInfo.java | 2 +- .../method/annotation/ServletInvocableHandlerMethod.java | 2 +- .../socket/config/annotation/SockJsServiceRegistration.java | 2 +- .../web/socket/sockjs/support/AbstractSockJsService.java | 2 +- .../springframework/web/socket/config/spring-websocket.xsd | 4 ++-- 13 files changed, 16 insertions(+), 16 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java b/spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java index bd007ac26d..c36d2054fc 100644 --- a/spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java +++ b/spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java @@ -37,7 +37,7 @@ final class RecordComponentWriter extends RecordComponentVisitor { /** The name_index field of the Record attribute. */ private final int nameIndex; - /** The descriptor_index field of the the Record attribute. */ + /** The descriptor_index field of the Record attribute. */ private final int descriptorIndex; /** diff --git a/spring-core/src/main/java/org/springframework/cglib/core/KeyFactory.java b/spring-core/src/main/java/org/springframework/cglib/core/KeyFactory.java index e1503b85c1..efcbc4c044 100644 --- a/spring-core/src/main/java/org/springframework/cglib/core/KeyFactory.java +++ b/spring-core/src/main/java/org/springframework/cglib/core/KeyFactory.java @@ -28,7 +28,7 @@ import org.springframework.cglib.core.internal.CustomizerRegistry; /** * Generates classes to handle multi-valued keys, for use in things such as Maps and Sets. - * Code for equals and hashCode methods follow the + * Code for equals and hashCode methods follow * the rules laid out in Effective Java by Joshua Bloch. *

* To generate a KeyFactory, you need to supply an interface which diff --git a/spring-core/src/main/java/org/springframework/util/ConcurrentLruCache.java b/spring-core/src/main/java/org/springframework/util/ConcurrentLruCache.java index 2f1f2e0896..ceee603e17 100644 --- a/spring-core/src/main/java/org/springframework/util/ConcurrentLruCache.java +++ b/spring-core/src/main/java/org/springframework/util/ConcurrentLruCache.java @@ -174,7 +174,7 @@ public class ConcurrentLruCache { } /** - * Return the the maximum number of entries in the cache + * Return the maximum number of entries in the cache * (0 indicates no caching, always generating a new value). * @see #size() */ diff --git a/spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java b/spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java index df9b5320fb..b2e180686f 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java @@ -82,7 +82,7 @@ import org.springframework.validation.Validator; *

  • {@link #userDestinationMessageHandler}
  • * * - *

    {@link #brokerChannel} delivers messages from within the application to the + *

    {@link #brokerChannel} delivers messages from within the application to * the respective message handlers. {@link #brokerMessagingTemplate} can be injected * into any application component to send messages. * diff --git a/spring-r2dbc/src/test/java/org/springframework/r2dbc/core/AbstractDatabaseClientIntegrationTests.java b/spring-r2dbc/src/test/java/org/springframework/r2dbc/core/AbstractDatabaseClientIntegrationTests.java index dff746cd59..d315a10290 100644 --- a/spring-r2dbc/src/test/java/org/springframework/r2dbc/core/AbstractDatabaseClientIntegrationTests.java +++ b/spring-r2dbc/src/test/java/org/springframework/r2dbc/core/AbstractDatabaseClientIntegrationTests.java @@ -59,7 +59,7 @@ public abstract class AbstractDatabaseClientIntegrationTests { protected abstract ConnectionFactory createConnectionFactory(); /** - * Return the the CREATE TABLE statement for table {@code legoset} with the following + * Return the CREATE TABLE statement for table {@code legoset} with the following * three columns: *