Browse Source

Polish "Fix duplicate "the" in Javadoc and XSD"

See gh-27291
pull/27297/head
Stephane Nicoll 5 years ago
parent
commit
af6fd6c303
  1. 2
      spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java
  2. 2
      spring-core/src/main/java/org/springframework/cglib/core/KeyFactory.java
  3. 2
      spring-core/src/main/java/org/springframework/util/ConcurrentLruCache.java
  4. 4
      spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java
  5. 2
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/PatternsRequestCondition.java
  6. 4
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethod.java
  7. 4
      spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/SockJsServiceRegistration.java

2
spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java

@ -37,7 +37,7 @@ final class RecordComponentWriter extends RecordComponentVisitor { @@ -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 Record attribute. */
/** The descriptor_index field of the the Record attribute. */
private final int descriptorIndex;
/**

2
spring-core/src/main/java/org/springframework/cglib/core/KeyFactory.java

@ -28,7 +28,7 @@ import org.springframework.cglib.core.internal.CustomizerRegistry; @@ -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 <code>equals</code> and <code>hashCode</code> methods follow
* Code for <code>equals</code> and <code>hashCode</code> methods follow the
* the rules laid out in <i>Effective Java</i> by Joshua Bloch.
* <p>
* To generate a <code>KeyFactory</code>, you need to supply an interface which

2
spring-core/src/main/java/org/springframework/util/ConcurrentLruCache.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

4
spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java

@ -82,8 +82,8 @@ import org.springframework.validation.Validator; @@ -82,8 +82,8 @@ import org.springframework.validation.Validator;
* <li>{@link #userDestinationMessageHandler}</li>
* </ul>
*
* <p>{@link #brokerChannel} delivers messages from within the application to
* the respective message handlers. {@link #brokerMessagingTemplate} can be injected
* <p>{@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.
*
* <p>Subclasses are responsible for the parts of the configuration that feed messages

2
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/PatternsRequestCondition.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

4
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethod.java

@ -194,8 +194,8 @@ public class ServletInvocableHandlerMethod extends InvocableHandlerMethod { @@ -194,8 +194,8 @@ public class ServletInvocableHandlerMethod extends InvocableHandlerMethod {
}
/**
* Create a nested ServletInvocableHandlerMethod subclass that returns
* the given value (or raises an Exception if the value is one) rather than
* Create a nested ServletInvocableHandlerMethod subclass that returns the
* given value (or raises an Exception if the value is one) rather than
* actually invoking the controller method. This is useful when processing
* async return values (e.g. Callable, DeferredResult, ListenableFuture).
*/

4
spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/SockJsServiceRegistration.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -106,7 +106,7 @@ public class SockJsServiceRegistration { @@ -106,7 +106,7 @@ public class SockJsServiceRegistration {
* also be set to point to a URL served by the application.
* <p>Note that it's possible to specify a relative URL in which case the URL
* must be relative to the iframe URL. For example assuming a SockJS endpoint
* mapped to "/sockjs", and resulting iframe URL "/sockjs/iframe.html",
* mapped to "/sockjs", and resulting iframe URL "/sockjs/iframe.html", then
* the relative URL must start with "../../" to traverse up to the location
* above the SockJS mapping. In case of a prefix-based Servlet mapping one more
* traversal may be needed.

Loading…
Cancel
Save