diff --git a/spring-aop/src/main/java/org/springframework/aop/AfterReturningAdvice.java b/spring-aop/src/main/java/org/springframework/aop/AfterReturningAdvice.java index b3b2c0a9d9..8c2c5d6ef8 100644 --- a/spring-aop/src/main/java/org/springframework/aop/AfterReturningAdvice.java +++ b/spring-aop/src/main/java/org/springframework/aop/AfterReturningAdvice.java @@ -33,9 +33,9 @@ public interface AfterReturningAdvice extends AfterAdvice { /** * Callback after a given method successfully returned. * @param returnValue the value returned by the method, if any - * @param method method being invoked - * @param args arguments to the method - * @param target target of the method invocation. May be {@code null}. + * @param method the method being invoked + * @param args the arguments to the method + * @param target the target of the method invocation. May be {@code null}. * @throws Throwable if this object wishes to abort the call. * Any exception thrown will be returned to the caller if it's * allowed by the method signature. Otherwise the exception diff --git a/spring-aop/src/main/java/org/springframework/aop/MethodBeforeAdvice.java b/spring-aop/src/main/java/org/springframework/aop/MethodBeforeAdvice.java index ae791a21b0..806744d09c 100644 --- a/spring-aop/src/main/java/org/springframework/aop/MethodBeforeAdvice.java +++ b/spring-aop/src/main/java/org/springframework/aop/MethodBeforeAdvice.java @@ -32,9 +32,9 @@ public interface MethodBeforeAdvice extends BeforeAdvice { /** * Callback before a given method is invoked. - * @param method method being invoked - * @param args arguments to the method - * @param target target of the method invocation. May be {@code null}. + * @param method the method being invoked + * @param args the arguments to the method + * @param target the target of the method invocation. May be {@code null}. * @throws Throwable if this object wishes to abort the call. * Any exception thrown will be returned to the caller if it's * allowed by the method signature. Otherwise the exception diff --git a/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/BeanFactoryAspectInstanceFactory.java b/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/BeanFactoryAspectInstanceFactory.java index 9160c64800..d5fefcec81 100644 --- a/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/BeanFactoryAspectInstanceFactory.java +++ b/spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/BeanFactoryAspectInstanceFactory.java @@ -56,7 +56,7 @@ public class BeanFactoryAspectInstanceFactory implements MetadataAwareAspectInst * introspect to create AJType metadata using the type returned for the * given bean name from the BeanFactory. * @param beanFactory the BeanFactory to obtain instance(s) from - * @param name name of the bean + * @param name the name of the bean */ public BeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name) { this(beanFactory, name, null); diff --git a/spring-aop/src/main/java/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.java b/spring-aop/src/main/java/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.java index 6882e97cc9..bb680a3477 100644 --- a/spring-aop/src/main/java/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.java +++ b/spring-aop/src/main/java/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.java @@ -189,7 +189,7 @@ public abstract class AbstractSingletonProxyFactoryBean extends ProxyConfig /** * Determine a TargetSource for the given target (or TargetSource). - * @param target target. If this is an implementation of TargetSource it is + * @param target the target. If this is an implementation of TargetSource it is * used as our TargetSource; otherwise it is wrapped in a SingletonTargetSource. * @return a TargetSource for this object */ diff --git a/spring-aop/src/main/java/org/springframework/aop/framework/Advised.java b/spring-aop/src/main/java/org/springframework/aop/framework/Advised.java index 3deb11bb2a..035ae8b30f 100644 --- a/spring-aop/src/main/java/org/springframework/aop/framework/Advised.java +++ b/spring-aop/src/main/java/org/springframework/aop/framework/Advised.java @@ -142,7 +142,7 @@ public interface Advised extends TargetClassAware { /** * Remove the advisor at the given index. - * @param index index of advisor to remove + * @param index the index of advisor to remove * @throws AopConfigException if the index is invalid */ void removeAdvisor(int index) throws AopConfigException; @@ -177,7 +177,7 @@ public interface Advised extends TargetClassAware { *
Note that the given advice will apply to all invocations on the proxy, * even to the {@code toString()} method! Use appropriate advice implementations * or specify appropriate pointcuts to apply to a narrower set of methods. - * @param advice advice to add to the tail of the chain + * @param advice the advice to add to the tail of the chain * @throws AopConfigException in case of invalid advice * @see #addAdvice(int, Advice) * @see org.springframework.aop.support.DefaultPointcutAdvisor @@ -193,7 +193,7 @@ public interface Advised extends TargetClassAware { * even to the {@code toString()} method! Use appropriate advice implementations * or specify appropriate pointcuts to apply to a narrower set of methods. * @param pos index from 0 (head) - * @param advice advice to add at the specified position in the advice chain + * @param advice the advice to add at the specified position in the advice chain * @throws AopConfigException in case of invalid advice */ void addAdvice(int pos, Advice advice) throws AopConfigException; diff --git a/spring-aop/src/main/java/org/springframework/aop/support/AbstractExpressionPointcut.java b/spring-aop/src/main/java/org/springframework/aop/support/AbstractExpressionPointcut.java index b4218508ed..5330f2c00d 100644 --- a/spring-aop/src/main/java/org/springframework/aop/support/AbstractExpressionPointcut.java +++ b/spring-aop/src/main/java/org/springframework/aop/support/AbstractExpressionPointcut.java @@ -78,7 +78,7 @@ public abstract class AbstractExpressionPointcut implements ExpressionPointcut, * Called when a new pointcut expression is set. * The expression should be parsed at this point if possible. *
This implementation is empty. - * @param expression expression to set + * @param expression the expression to set * @throws IllegalArgumentException if the expression is invalid * @see #setExpression */ diff --git a/spring-aop/src/main/java/org/springframework/aop/support/NameMatchMethodPointcut.java b/spring-aop/src/main/java/org/springframework/aop/support/NameMatchMethodPointcut.java index faf1b0f4f3..d3d762465d 100644 --- a/spring-aop/src/main/java/org/springframework/aop/support/NameMatchMethodPointcut.java +++ b/spring-aop/src/main/java/org/springframework/aop/support/NameMatchMethodPointcut.java @@ -66,7 +66,7 @@ public class NameMatchMethodPointcut extends StaticMethodMatcherPointcut impleme * before a proxy is used. *
NB: This method does not work after the proxy is in
* use, as advice chains will be cached.
- * @param name name of the additional method that will match
+ * @param name the name of the additional method that will match
* @return this pointcut to allow for multiple additions in one line
*/
public NameMatchMethodPointcut addMethodName(String name) {
diff --git a/spring-aop/src/main/java/org/springframework/aop/support/NameMatchMethodPointcutAdvisor.java b/spring-aop/src/main/java/org/springframework/aop/support/NameMatchMethodPointcutAdvisor.java
index 458b06de73..a7efd815dc 100644
--- a/spring-aop/src/main/java/org/springframework/aop/support/NameMatchMethodPointcutAdvisor.java
+++ b/spring-aop/src/main/java/org/springframework/aop/support/NameMatchMethodPointcutAdvisor.java
@@ -76,7 +76,7 @@ public class NameMatchMethodPointcutAdvisor extends AbstractGenericPointcutAdvis
* Add another eligible method name, in addition to those already named.
* Like the set methods, this method is for use when configuring proxies,
* before a proxy is used.
- * @param name name of the additional method that will match
+ * @param name the name of the additional method that will match
* @return this pointcut to allow for multiple additions in one line
* @see NameMatchMethodPointcut#addMethodName
*/
diff --git a/spring-beans/src/main/java/org/springframework/beans/AbstractNestablePropertyAccessor.java b/spring-beans/src/main/java/org/springframework/beans/AbstractNestablePropertyAccessor.java
index e079a48900..7466519681 100644
--- a/spring-beans/src/main/java/org/springframework/beans/AbstractNestablePropertyAccessor.java
+++ b/spring-beans/src/main/java/org/springframework/beans/AbstractNestablePropertyAccessor.java
@@ -115,7 +115,7 @@ public abstract class AbstractNestablePropertyAccessor extends AbstractPropertyA
/**
* Create a new accessor for the given object.
- * @param object object wrapped by this accessor
+ * @param object the object wrapped by this accessor
*/
protected AbstractNestablePropertyAccessor(Object object) {
registerDefaultEditors();
@@ -134,7 +134,7 @@ public abstract class AbstractNestablePropertyAccessor extends AbstractPropertyA
/**
* Create a new accessor for the given object,
* registering a nested path that the object is in.
- * @param object object wrapped by this accessor
+ * @param object the object wrapped by this accessor
* @param nestedPath the nested path of the object
* @param rootObject the root object at the top of the path
*/
@@ -146,7 +146,7 @@ public abstract class AbstractNestablePropertyAccessor extends AbstractPropertyA
/**
* Create a new accessor for the given object,
* registering a nested path that the object is in.
- * @param object object wrapped by this accessor
+ * @param object the object wrapped by this accessor
* @param nestedPath the nested path of the object
* @param parent the containing accessor (must not be {@code null})
*/
@@ -737,7 +737,7 @@ public abstract class AbstractNestablePropertyAccessor extends AbstractPropertyA
/**
* Create a new nested property accessor instance.
* Can be overridden in subclasses to create a PropertyAccessor subclass.
- * @param object object wrapped by this PropertyAccessor
+ * @param object the object wrapped by this PropertyAccessor
* @param nestedPath the nested path of the object
* @return the nested PropertyAccessor instance
*/
diff --git a/spring-beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java b/spring-beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java
index 4baa57cb7b..7c9651ea81 100644
--- a/spring-beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java
+++ b/spring-beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java
@@ -97,7 +97,7 @@ public class BeanWrapperImpl extends AbstractNestablePropertyAccessor implements
/**
* Create a new BeanWrapperImpl for the given object.
- * @param object object wrapped by this BeanWrapper
+ * @param object the object wrapped by this BeanWrapper
*/
public BeanWrapperImpl(Object object) {
super(object);
@@ -114,7 +114,7 @@ public class BeanWrapperImpl extends AbstractNestablePropertyAccessor implements
/**
* Create a new BeanWrapperImpl for the given object,
* registering a nested path that the object is in.
- * @param object object wrapped by this BeanWrapper
+ * @param object the object wrapped by this BeanWrapper
* @param nestedPath the nested path of the object
* @param rootObject the root object at the top of the path
*/
@@ -125,7 +125,7 @@ public class BeanWrapperImpl extends AbstractNestablePropertyAccessor implements
/**
* Create a new BeanWrapperImpl for the given object,
* registering a nested path that the object is in.
- * @param object object wrapped by this BeanWrapper
+ * @param object the object wrapped by this BeanWrapper
* @param nestedPath the nested path of the object
* @param parent the containing BeanWrapper (must not be {@code null})
*/
diff --git a/spring-beans/src/main/java/org/springframework/beans/DirectFieldAccessor.java b/spring-beans/src/main/java/org/springframework/beans/DirectFieldAccessor.java
index f526ab3cdc..4435d7746a 100644
--- a/spring-beans/src/main/java/org/springframework/beans/DirectFieldAccessor.java
+++ b/spring-beans/src/main/java/org/springframework/beans/DirectFieldAccessor.java
@@ -52,7 +52,7 @@ public class DirectFieldAccessor extends AbstractNestablePropertyAccessor {
/**
* Create a new DirectFieldAccessor for the given object.
- * @param object object wrapped by this DirectFieldAccessor
+ * @param object the object wrapped by this DirectFieldAccessor
*/
public DirectFieldAccessor(Object object) {
super(object);
@@ -61,7 +61,7 @@ public class DirectFieldAccessor extends AbstractNestablePropertyAccessor {
/**
* Create a new DirectFieldAccessor for the given object,
* registering a nested path that the object is in.
- * @param object object wrapped by this DirectFieldAccessor
+ * @param object the object wrapped by this DirectFieldAccessor
* @param nestedPath the nested path of the object
* @param parent the containing DirectFieldAccessor (must not be {@code null})
*/
diff --git a/spring-beans/src/main/java/org/springframework/beans/PropertyValues.java b/spring-beans/src/main/java/org/springframework/beans/PropertyValues.java
index 6840bb9116..b754a32a0f 100644
--- a/spring-beans/src/main/java/org/springframework/beans/PropertyValues.java
+++ b/spring-beans/src/main/java/org/springframework/beans/PropertyValues.java
@@ -78,7 +78,7 @@ public interface PropertyValues extends Iterable Note: Even if a given path starts with a slash, it will get
* interpreted as relative to the current VM working directory.
* This is consistent with the semantics in a Servlet container.
- * @param path path to the resource
+ * @param path the path to the resource
* @return the Resource handle
* @see org.springframework.web.context.support.XmlWebApplicationContext#getResourceByPath
*/
diff --git a/spring-context/src/main/java/org/springframework/context/support/MessageSourceAccessor.java b/spring-context/src/main/java/org/springframework/context/support/MessageSourceAccessor.java
index 74229707a6..6c36abd36e 100644
--- a/spring-context/src/main/java/org/springframework/context/support/MessageSourceAccessor.java
+++ b/spring-context/src/main/java/org/springframework/context/support/MessageSourceAccessor.java
@@ -79,7 +79,7 @@ public class MessageSourceAccessor {
/**
* Retrieve the message for the given code and the default Locale.
- * @param code code of the message
+ * @param code the code of the message
* @param defaultMessage the String to return if the lookup fails
* @return the message
*/
@@ -90,7 +90,7 @@ public class MessageSourceAccessor {
/**
* Retrieve the message for the given code and the given Locale.
- * @param code code of the message
+ * @param code the code of the message
* @param defaultMessage the String to return if the lookup fails
* @param locale the Locale in which to do lookup
* @return the message
@@ -102,7 +102,7 @@ public class MessageSourceAccessor {
/**
* Retrieve the message for the given code and the default Locale.
- * @param code code of the message
+ * @param code the code of the message
* @param args arguments for the message, or {@code null} if none
* @param defaultMessage the String to return if the lookup fails
* @return the message
@@ -114,7 +114,7 @@ public class MessageSourceAccessor {
/**
* Retrieve the message for the given code and the given Locale.
- * @param code code of the message
+ * @param code the code of the message
* @param args arguments for the message, or {@code null} if none
* @param defaultMessage the String to return if the lookup fails
* @param locale the Locale in which to do lookup
@@ -127,7 +127,7 @@ public class MessageSourceAccessor {
/**
* Retrieve the message for the given code and the default Locale.
- * @param code code of the message
+ * @param code the code of the message
* @return the message
* @throws org.springframework.context.NoSuchMessageException if not found
*/
@@ -137,7 +137,7 @@ public class MessageSourceAccessor {
/**
* Retrieve the message for the given code and the given Locale.
- * @param code code of the message
+ * @param code the code of the message
* @param locale the Locale in which to do lookup
* @return the message
* @throws org.springframework.context.NoSuchMessageException if not found
@@ -148,7 +148,7 @@ public class MessageSourceAccessor {
/**
* Retrieve the message for the given code and the default Locale.
- * @param code code of the message
+ * @param code the code of the message
* @param args arguments for the message, or {@code null} if none
* @return the message
* @throws org.springframework.context.NoSuchMessageException if not found
@@ -159,7 +159,7 @@ public class MessageSourceAccessor {
/**
* Retrieve the message for the given code and the given Locale.
- * @param code code of the message
+ * @param code the code of the message
* @param args arguments for the message, or {@code null} if none
* @param locale the Locale in which to do lookup
* @return the message
diff --git a/spring-context/src/main/java/org/springframework/context/support/StaticApplicationContext.java b/spring-context/src/main/java/org/springframework/context/support/StaticApplicationContext.java
index 8559b36817..fc58e3f503 100644
--- a/spring-context/src/main/java/org/springframework/context/support/StaticApplicationContext.java
+++ b/spring-context/src/main/java/org/springframework/context/support/StaticApplicationContext.java
@@ -137,7 +137,7 @@ public class StaticApplicationContext extends GenericApplicationContext {
/**
* Associate the given message with the given code.
* @param code lookup code
- * @param locale locale message should be found within
+ * @param locale the locale message should be found within
* @param defaultMessage message associated with this lookup code
* @see #getStaticMessageSource
*/
diff --git a/spring-context/src/main/java/org/springframework/validation/BindException.java b/spring-context/src/main/java/org/springframework/validation/BindException.java
index 7aa7b1407a..736b17aac6 100644
--- a/spring-context/src/main/java/org/springframework/validation/BindException.java
+++ b/spring-context/src/main/java/org/springframework/validation/BindException.java
@@ -58,7 +58,7 @@ public class BindException extends Exception implements BindingResult {
/**
* Create a new BindException instance for a target bean.
- * @param target target bean to bind onto
+ * @param target the target bean to bind onto
* @param objectName the name of the target object
* @see BeanPropertyBindingResult
*/
diff --git a/spring-core/src/main/java/org/springframework/asm/ClassWriter.java b/spring-core/src/main/java/org/springframework/asm/ClassWriter.java
index 60074927a5..ed0e48cf5b 100644
--- a/spring-core/src/main/java/org/springframework/asm/ClassWriter.java
+++ b/spring-core/src/main/java/org/springframework/asm/ClassWriter.java
@@ -916,7 +916,7 @@ public class ClassWriter extends ClassVisitor {
* if the constant pool already contains a similar item. This method is intended for {@link
* Attribute} sub classes, and is normally not needed by class generators or adapters.
*
- * @param name name of the invoked method.
+ * @param name the name of the invoked method.
* @param descriptor field descriptor of the constant type.
* @param bootstrapMethodHandle the bootstrap method.
* @param bootstrapMethodArguments the bootstrap method constant arguments.
@@ -937,7 +937,7 @@ public class ClassWriter extends ClassVisitor {
* the constant pool already contains a similar item. This method is intended for {@link
* Attribute} sub classes, and is normally not needed by class generators or adapters.
*
- * @param name name of the invoked method.
+ * @param name the name of the invoked method.
* @param descriptor descriptor of the invoke method.
* @param bootstrapMethodHandle the bootstrap method.
* @param bootstrapMethodArguments the bootstrap method constant arguments.
diff --git a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationsProcessor.java b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationsProcessor.java
index abc784691c..75552f3b24 100644
--- a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationsProcessor.java
+++ b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationsProcessor.java
@@ -36,7 +36,7 @@ interface AnnotationsProcessor The {@link Adapt adaptations} may be used to change the way that values
* are added.
- * @param adaptations adaptations that should be applied to the annotation values
+ * @param adaptations the adaptations that should be applied to the annotation values
* @return an immutable map containing the attributes and values
*/
AnnotationAttributes asAnnotationAttributes(Adapt... adaptations);
@@ -463,7 +463,7 @@ public interface MergedAnnotation {
/**
* Get an immutable {@link Map} that contains all the annotation attributes.
* The {@link Adapt adaptations} may be used to change the way that values are added.
- * @param adaptations adaptations that should be applied to the annotation values
+ * @param adaptations the adaptations that should be applied to the annotation values
* @return an immutable map containing the attributes and values
*/
Map The {@link Adapt adaptations} may be used to change the way that values are added.
* @param factory a map factory
- * @param adaptations adaptations that should be applied to the annotation values
+ * @param adaptations the adaptations that should be applied to the annotation values
* @return a map containing the attributes and values
*/
The exact treatment, including any SQL statement executed on the connection,
- * can be customized through through {@link #prepareTransactionalConnection}.
+ * can be customized through {@link #prepareTransactionalConnection}.
* This mode of read-only handling goes beyond the {@link Connection#setReadOnly}
* hint that Spring applies by default. In contrast to that standard JDBC hint,
* "SET TRANSACTION READ ONLY" enforces an isolation-level-like connection mode
diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/object/RdbmsOperation.java b/spring-jdbc/src/main/java/org/springframework/jdbc/object/RdbmsOperation.java
index 1c33f266e3..67c4ca6e01 100644
--- a/spring-jdbc/src/main/java/org/springframework/jdbc/object/RdbmsOperation.java
+++ b/spring-jdbc/src/main/java/org/springframework/jdbc/object/RdbmsOperation.java
@@ -387,7 +387,7 @@ public abstract class RdbmsOperation implements InitializingBean {
* Validate the parameters passed to an execute method based on declared parameters.
* Subclasses should invoke this method before every {@code executeQuery()}
* or {@code update()} method.
- * @param parameters parameters supplied (may be {@code null})
+ * @param parameters the parameters supplied (may be {@code null})
* @throws InvalidDataAccessApiUsageException if the parameters are invalid
*/
protected void validateParameters(@Nullable Object[] parameters) throws InvalidDataAccessApiUsageException {
diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlQuery.java b/spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlQuery.java
index 86e112af5f..170771928e 100644
--- a/spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlQuery.java
+++ b/spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlQuery.java
@@ -102,7 +102,7 @@ public abstract class SqlQuery Parameters declared as {@code SqlParameter} and {@code SqlInOutParameter}
+ * will always be used to provide input values. In addition to this, any parameter declared
+ * as {@code SqlOutParameter} where a non-null input value is provided will also be used
+ * as an input parameter.
* Note: Calls to declareParameter must be made in the same order as
* they appear in the database's stored procedure parameter list.
- * Names are purely used to help mapping.
- * @param param parameter object
+ * Names are purely used to help mapping.
+ * @param param the parameter object
*/
@Override
public void declareParameter(SqlParameter param) throws InvalidDataAccessApiUsageException {
diff --git a/spring-jms/src/main/java/org/springframework/jms/core/JmsMessageOperations.java b/spring-jms/src/main/java/org/springframework/jms/core/JmsMessageOperations.java
index 5d4f224012..50bba1b04f 100644
--- a/spring-jms/src/main/java/org/springframework/jms/core/JmsMessageOperations.java
+++ b/spring-jms/src/main/java/org/springframework/jms/core/JmsMessageOperations.java
@@ -66,7 +66,7 @@ public interface JmsMessageOperations extends MessageSendingOperations When reading from a text-based message, an encoding may have been
* suggested through a special JMS property which will then be preferred
* over the encoding set on this MessageConverter instance.
* @see #setEncodingPropertyName
diff --git a/spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageSendingTemplate.java b/spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageSendingTemplate.java
index 3e10a09ea4..0622061baf 100644
--- a/spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageSendingTemplate.java
+++ b/spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageSendingTemplate.java
@@ -156,7 +156,7 @@ public abstract class AbstractMessageSendingTemplate The XPath expression can be a parameterized string using
* formatting specifiers as defined in {@link String#format}.
* @param expression the XPath expression
- * @param namespaces namespaces to use
+ * @param namespaces the namespaces to use
* @param args arguments to parameterize the expression
* @since 5.1
*/
diff --git a/spring-test/src/main/java/org/springframework/test/web/servlet/result/MockMvcResultMatchers.java b/spring-test/src/main/java/org/springframework/test/web/servlet/result/MockMvcResultMatchers.java
index e633aa3ab9..2ad7fac08a 100644
--- a/spring-test/src/main/java/org/springframework/test/web/servlet/result/MockMvcResultMatchers.java
+++ b/spring-test/src/main/java/org/springframework/test/web/servlet/result/MockMvcResultMatchers.java
@@ -246,7 +246,7 @@ public abstract class MockMvcResultMatchers {
* The XPath expression can be a parameterized string using formatting
* specifiers as defined in {@link String#format(String, Object...)}.
* @param expression the XPath expression, optionally parameterized with arguments
- * @param namespaces namespaces referenced in the XPath expression
+ * @param namespaces the namespaces referenced in the XPath expression
* @param args arguments to parameterize the XPath expression with
*/
public static XpathResultMatchers xpath(String expression, Map The default implementation returns {@code false}, assuming that
* participating in existing transactions is generally not supported.
* Subclasses are of course encouraged to provide such support.
- * @param transaction transaction object returned by doGetTransaction
+ * @param transaction the transaction object returned by doGetTransaction
* @return if there is an existing transaction
* @throws TransactionException in case of system errors
* @see #doGetTransaction
@@ -756,7 +756,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
* active transaction: The implementation of this method has to detect this and
* start an appropriate nested transaction.
* @param synchronizationManager the synchronization manager bound to the new transaction
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
* @param definition a TransactionDefinition instance, describing propagation
* behavior, isolation level, read-only flag, timeout, and transaction name
* @throws TransactionException in case of creation or system errors
@@ -772,7 +772,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
* The default implementation throws a TransactionSuspensionNotSupportedException,
* assuming that transaction suspension is generally not supported.
* @param synchronizationManager the synchronization manager bound to the current transaction
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
* @return an object that holds suspended resources
* (will be kept unexamined for passing it into doResume)
* @throws org.springframework.transaction.TransactionSuspensionNotSupportedException if suspending is not supported by the transaction manager implementation
@@ -792,7 +792,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
* The default implementation throws a TransactionSuspensionNotSupportedException,
* assuming that transaction suspension is generally not supported.
* @param synchronizationManager the synchronization manager bound to the current transaction
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
* @param suspendedResources the object that holds suspended resources,
* as returned by doSuspend
* @throws org.springframework.transaction.TransactionSuspensionNotSupportedException if resuming is not supported by the transaction manager implementation
@@ -876,7 +876,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
* immediately, passing in "STATUS_UNKNOWN". This is the best we can do if there's no
* chance to determine the actual outcome of the outer transaction.
* @param synchronizationManager the synchronization manager bound to the current transaction
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
* @param synchronizations a List of TransactionSynchronization objects
* @throws TransactionException in case of system errors
* @see #invokeAfterCompletion(TransactionSynchronizationManager, List, int)
@@ -897,7 +897,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
* on any outcome. The default implementation does nothing.
* Should not throw any exceptions but just issue warnings on errors.
* @param synchronizationManager the synchronization manager bound to the current transaction
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
*/
protected Mono The default implementation returns {@code false}, assuming that
* participating in existing transactions is generally not supported.
* Subclasses are of course encouraged to provide such support.
- * @param transaction transaction object returned by doGetTransaction
+ * @param transaction the transaction object returned by doGetTransaction
* @return if there is an existing transaction
* @throws TransactionException in case of system errors
* @see #doGetTransaction
@@ -1092,7 +1092,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
* will be called to start a nested transaction when necessary. In such a context,
* there will be an active transaction: The implementation of this method has
* to detect this and start an appropriate nested transaction.
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
* @param definition a TransactionDefinition instance, describing propagation
* behavior, isolation level, read-only flag, timeout, and transaction name
* @throws TransactionException in case of creation or system errors
@@ -1107,7 +1107,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
* Transaction synchronization will already have been suspended.
* The default implementation throws a TransactionSuspensionNotSupportedException,
* assuming that transaction suspension is generally not supported.
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
* @return an object that holds suspended resources
* (will be kept unexamined for passing it into doResume)
* @throws org.springframework.transaction.TransactionSuspensionNotSupportedException
@@ -1125,7 +1125,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
* Transaction synchronization will be resumed afterwards.
* The default implementation throws a TransactionSuspensionNotSupportedException,
* assuming that transaction suspension is generally not supported.
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
* @param suspendedResources the object that holds suspended resources,
* as returned by doSuspend
* @throws org.springframework.transaction.TransactionSuspensionNotSupportedException
@@ -1229,7 +1229,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
* The default implementation simply invokes the {@code afterCompletion} methods
* immediately, passing in "STATUS_UNKNOWN". This is the best we can do if there's no
* chance to determine the actual outcome of the outer transaction.
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
* @param synchronizations a List of TransactionSynchronization objects
* @throws TransactionException in case of system errors
* @see #invokeAfterCompletion(java.util.List, int)
@@ -1249,7 +1249,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
* Called after {@code doCommit} and {@code doRollback} execution,
* on any outcome. The default implementation does nothing.
* Should not throw any exceptions but just issue warnings on errors.
- * @param transaction transaction object returned by {@code doGetTransaction}
+ * @param transaction the transaction object returned by {@code doGetTransaction}
*/
protected void doCleanupAfterCompletion(Object transaction) {
}
diff --git a/spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractReactiveTransactionAspectTests.java b/spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractReactiveTransactionAspectTests.java
index 85a13bd621..6755d5df16 100644
--- a/spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractReactiveTransactionAspectTests.java
+++ b/spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractReactiveTransactionAspectTests.java
@@ -371,7 +371,7 @@ public abstract class AbstractReactiveTransactionAspectTests {
* have been created, as there's no distinction between target and proxy.
* In the case of Spring's own AOP framework, a proxy must be created
* using a suitably configured transaction interceptor
- * @param target target if there's a distinct target. If not (AspectJ),
+ * @param target the target if there's a distinct target. If not (AspectJ),
* return target.
* @return transactional advised object
*/
diff --git a/spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractTransactionAspectTests.java b/spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractTransactionAspectTests.java
index b478a6b8ec..3546da2184 100644
--- a/spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractTransactionAspectTests.java
+++ b/spring-tx/src/test/java/org/springframework/transaction/interceptor/AbstractTransactionAspectTests.java
@@ -559,7 +559,7 @@ public abstract class AbstractTransactionAspectTests {
* have been created, as there's no distinction between target and proxy.
* In the case of Spring's own AOP framework, a proxy must be created
* using a suitably configured transaction interceptor
- * @param target target if there's a distinct target. If not (AspectJ),
+ * @param target the target if there's a distinct target. If not (AspectJ),
* return target.
* @return transactional advised object
*/
diff --git a/spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Decoder.java b/spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Decoder.java
index f88d95748b..daf06e3d55 100644
--- a/spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Decoder.java
+++ b/spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Decoder.java
@@ -136,8 +136,8 @@ public abstract class AbstractJackson2Decoder extends Jackson2CodecSupport imple
/**
* Process the input publisher into a flux. Default implementation returns
- * {@link Flux#from(Publisher)}, but subclasses can choose to to customize
- * this behaviour.
+ * {@link Flux#from(Publisher)}, but subclasses can choose to customize
+ * this behavior.
* @param input the {@code DataBuffer} input stream to process
* @param elementType the expected type of elements in the output stream
* @param mimeType the MIME type associated with the input stream (optional)
diff --git a/spring-web/src/main/java/org/springframework/http/codec/support/BaseCodecConfigurer.java b/spring-web/src/main/java/org/springframework/http/codec/support/BaseCodecConfigurer.java
index 94bbf7328f..266f6bbe3c 100644
--- a/spring-web/src/main/java/org/springframework/http/codec/support/BaseCodecConfigurer.java
+++ b/spring-web/src/main/java/org/springframework/http/codec/support/BaseCodecConfigurer.java
@@ -67,8 +67,8 @@ abstract class BaseCodecConfigurer implements CodecConfigurer {
}
/**
- * Sub-classes should override this to create deep copy of
- * {@link BaseDefaultCodecs} which can can be client or server specific.
+ * Sub-classes should override this to create a deep copy of
+ * {@link BaseDefaultCodecs} which can be client or server specific.
* @since 5.1.12
*/
protected abstract BaseDefaultCodecs cloneDefaultCodecs();
diff --git a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteProcessor.java b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteProcessor.java
index 3f37a95580..00b59ace27 100644
--- a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteProcessor.java
+++ b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteProcessor.java
@@ -212,7 +212,7 @@ public abstract class AbstractListenerWriteProcessor The type of the target property for a multipart file can be Part, MultipartFile,
* byte[], or String. The latter two receive the contents of the uploaded file;
* all metadata like original file name, content type, etc are lost in those cases.
- * @param request request with parameters to bind (can be multipart)
+ * @param request the request with parameters to bind (can be multipart)
* @see org.springframework.web.multipart.MultipartRequest
* @see org.springframework.web.multipart.MultipartFile
* @see javax.servlet.http.Part
@@ -126,7 +126,7 @@ public class WebRequestDataBinder extends WebDataBinder {
/**
* Check if the request is a multipart request (by checking its Content-Type header).
- * @param request request with parameters to bind
+ * @param request the request with parameters to bind
*/
private boolean isMultipartRequest(WebRequest request) {
String contentType = request.getHeader("Content-Type");
diff --git a/spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncTask.java b/spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncTask.java
index 4c523bb7fd..3ca91bf7ef 100644
--- a/spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncTask.java
+++ b/spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncTask.java
@@ -73,7 +73,7 @@ public class WebAsyncTask Servlet containers dn't expose a a client disconnected callback, see
+ * Servlet containers don't expose a client disconnected callback; see
* eclipse-ee4j/servlet-api#44.
* To avoid filling logs with unnecessary stack traces, we make an
* effort to identify such network failures on a per-server basis, and then
diff --git a/spring-web/src/main/java/org/springframework/web/server/session/WebSessionManager.java b/spring-web/src/main/java/org/springframework/web/server/session/WebSessionManager.java
index 3ca79fb53e..67648eb4e8 100644
--- a/spring-web/src/main/java/org/springframework/web/server/session/WebSessionManager.java
+++ b/spring-web/src/main/java/org/springframework/web/server/session/WebSessionManager.java
@@ -22,7 +22,7 @@ import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.server.WebSession;
/**
- * Main class for for access to the {@link WebSession} for an HTTP request.
+ * Main class for access to the {@link WebSession} for an HTTP request.
*
* @author Rossen Stoyanchev
* @since 5.0
diff --git a/spring-web/src/main/java/org/springframework/web/util/WebUtils.java b/spring-web/src/main/java/org/springframework/web/util/WebUtils.java
index 63859f6ccb..fec0cfdbe8 100644
--- a/spring-web/src/main/java/org/springframework/web/util/WebUtils.java
+++ b/spring-web/src/main/java/org/springframework/web/util/WebUtils.java
@@ -591,7 +591,7 @@ public abstract class WebUtils {
* either via a button (directly with name) or via an image (name + ".x" or
* name + ".y").
* @param request current HTTP request
- * @param name name of the parameter
+ * @param name the name of the parameter
* @return if the parameter was sent
* @see #SUBMIT_IMAGE_SUFFIXES
*/
diff --git a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPatternParser.java b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPatternParser.java
index f433b8e1e0..2a5152fea4 100644
--- a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPatternParser.java
+++ b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPatternParser.java
@@ -42,7 +42,7 @@ public class PathPatternParser {
/**
- * Whether a {@link PathPattern} produced by this parser should should
+ * Whether a {@link PathPattern} produced by this parser should
* automatically match request paths with a trailing slash.
*
* If set to {@code true} a {@code PathPattern} without a trailing slash
diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/HandlerAdapter.java b/spring-webflux/src/main/java/org/springframework/web/reactive/HandlerAdapter.java
index 71ec10478b..c06ea1a67a 100644
--- a/spring-webflux/src/main/java/org/springframework/web/reactive/HandlerAdapter.java
+++ b/spring-webflux/src/main/java/org/springframework/web/reactive/HandlerAdapter.java
@@ -34,7 +34,7 @@ public interface HandlerAdapter {
/**
* Whether this {@code HandlerAdapter} supports the given {@code handler}.
- * @param handler handler object to check
+ * @param handler the handler object to check
* @return whether or not the handler is supported
*/
boolean supports(Object handler);
diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/HandlerResultHandler.java b/spring-webflux/src/main/java/org/springframework/web/reactive/HandlerResultHandler.java
index 71e640c6c3..8df3340a81 100644
--- a/spring-webflux/src/main/java/org/springframework/web/reactive/HandlerResultHandler.java
+++ b/spring-webflux/src/main/java/org/springframework/web/reactive/HandlerResultHandler.java
@@ -31,7 +31,7 @@ public interface HandlerResultHandler {
/**
* Whether this handler supports the given {@link HandlerResult}.
- * @param result result object to check
+ * @param result the result object to check
* @return whether or not this object can use the given result
*/
boolean supports(HandlerResult result);
diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicates.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicates.java
index 9a08d79ce2..99386f7c8a 100644
--- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicates.java
+++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicates.java
@@ -281,7 +281,7 @@ public abstract class RequestPredicates {
* Return a {@code RequestPredicate} that tests the request's query parameter of the given name
* against the given predicate.
* @param name the name of the query parameter to test against
- * @param predicate predicate to test against the query parameter value
+ * @param predicate the predicate to test against the query parameter value
* @return a predicate that matches the given predicate against the query parameter of the given name
* @see ServerRequest#queryParam(String)
*/
diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java
index cd4861a4a8..9395f4287a 100644
--- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java
+++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java
@@ -345,8 +345,8 @@ public interface ServerResponse {
/**
* Build the response entity with no body.
- * The response will be committed when the given {@code voidPublisher} completes.
- * @param voidPublisher publisher publisher to indicate when the response should be committed
+ * The response will be committed when the given {@code voidPublisher} completes.
+ * @param voidPublisher the publisher to indicate when the response should be committed
*/
Mono Supports direct URL matches and Ant-style pattern matches. For syntax
* details, see the {@link AntPathMatcher} javadoc.
- * @param map map with URLs as keys and version strategies as values
+ * @param map a map with URLs as keys and version strategies as values
*/
public void setStrategyMap(Map {@code
* return (handler instanceof MyHandler);
* }
- * @param handler handler object to check
+ * @param handler the handler object to check
* @return whether or not this object can use the given handler
*/
boolean supports(Object handler);
@@ -67,7 +67,7 @@ public interface HandlerAdapter {
* The workflow that is required may vary widely.
* @param request current HTTP request
* @param response current HTTP response
- * @param handler handler to use. This object must have previously been passed
+ * @param handler the handler to use. This object must have previously been passed
* to the {@code supports} method of this interface, which must have
* returned {@code true}.
* @throws Exception in case of errors
@@ -81,7 +81,7 @@ public interface HandlerAdapter {
* Same contract as for HttpServlet's {@code getLastModified} method.
* Can simply return -1 if there's no support in the handler class.
* @param request current HTTP request
- * @param handler handler to use
+ * @param handler the handler to use
* @return the lastModified value for the given handler
* @see javax.servlet.http.HttpServlet#getLastModified
* @see org.springframework.web.servlet.mvc.LastModified#getLastModified
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerInterceptor.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerInterceptor.java
index 87b7c585e7..1bcdad561a 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerInterceptor.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerInterceptor.java
@@ -114,7 +114,7 @@ public interface HandlerInterceptor {
* The default implementation is empty.
* @param request current HTTP request
* @param response current HTTP response
- * @param handler handler (or {@link HandlerMethod}) that started asynchronous
+ * @param handler the handler (or {@link HandlerMethod}) that started asynchronous
* execution, for type and/or instance examination
* @param modelAndView the {@code ModelAndView} that the handler returned
* (can also be {@code null})
@@ -139,7 +139,7 @@ public interface HandlerInterceptor {
* The default implementation is empty.
* @param request current HTTP request
* @param response current HTTP response
- * @param handler handler (or {@link HandlerMethod}) that started asynchronous
+ * @param handler the handler (or {@link HandlerMethod}) that started asynchronous
* execution, for type and/or instance examination
* @param ex any exception thrown on handler execution, if any; this does not
* include exceptions that have been handled through an exception resolver
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/ThemeResolver.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/ThemeResolver.java
index 4f49da7f9d..61bcfd83cd 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/ThemeResolver.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/ThemeResolver.java
@@ -51,15 +51,15 @@ public interface ThemeResolver {
/**
* Resolve the current theme name via the given request.
* Should return a default theme as fallback in any case.
- * @param request request to be used for resolution
+ * @param request the request to be used for resolution
* @return the current theme name
*/
String resolveThemeName(HttpServletRequest request);
/**
* Set the current theme name to the given one.
- * @param request request to be used for theme name modification
- * @param response response to be used for theme name modification
+ * @param request the request to be used for theme name modification
+ * @param response the response to be used for theme name modification
* @param themeName the new theme name ({@code null} or empty to reset it)
* @throws UnsupportedOperationException if the ThemeResolver implementation
* does not support dynamic changing of the theme
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/function/RequestPredicates.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/function/RequestPredicates.java
index d45abc693a..efc3fd9789 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/function/RequestPredicates.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/function/RequestPredicates.java
@@ -278,7 +278,7 @@ public abstract class RequestPredicates {
* Return a {@code RequestPredicate} that tests the request's parameter of the given name
* against the given predicate.
* @param name the name of the parameter to test against
- * @param predicate predicate to test against the parameter value
+ * @param predicate the predicate to test against the parameter value
* @return a predicate that matches the given predicate against the parameter of the given name
* @see ServerRequest#param(String)
*/
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ResponseBodyEmitter.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ResponseBodyEmitter.java
index 25cceccf4b..23c5e57ed8 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ResponseBodyEmitter.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ResponseBodyEmitter.java
@@ -105,7 +105,7 @@ public class ResponseBodyEmitter {
* By default not set in which case the default configured in the MVC
* Java Config or the MVC namespace is used, or if that's not set, then the
* timeout depends on the default of the underlying server.
- * @param timeout timeout value in milliseconds
+ * @param timeout the timeout value in milliseconds
*/
public ResponseBodyEmitter(Long timeout) {
this.timeout = timeout;
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java
index 7700b0199f..d8daa6c610 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java
@@ -53,7 +53,7 @@ public class SseEmitter extends ResponseBodyEmitter {
* By default not set in which case the default configured in the MVC
* Java Config or the MVC namespace is used, or if that's not set, then the
* timeout depends on the default of the underlying server.
- * @param timeout timeout value in milliseconds
+ * @param timeout the timeout value in milliseconds
* @since 4.2.2
*/
public SseEmitter(Long timeout) {
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/VersionResourceResolver.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/VersionResourceResolver.java
index d66ba404f2..1e089ca01d 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/VersionResourceResolver.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/resource/VersionResourceResolver.java
@@ -75,7 +75,7 @@ public class VersionResourceResolver extends AbstractResourceResolver {
* Set a Map with URL paths as keys and {@code VersionStrategy} as values.
* Supports direct URL matches and Ant-style pattern matches. For syntax
* details, see the {@link org.springframework.util.AntPathMatcher} javadoc.
- * @param map map with URLs as keys and version strategies as values
+ * @param map a map with URLs as keys and version strategies as values
*/
public void setStrategyMap(Map Note that theme messages are never HTML-escaped, as they typically denote
* theme-specific resource paths and not client-visible messages.
- * @param code code of the message
+ * @param code the code of the message
* @param defaultMessage the String to return if the lookup fails
* @return the message
*/
@@ -743,7 +743,7 @@ public class RequestContext {
* Retrieve the theme message for the given code.
* Note that theme messages are never HTML-escaped, as they typically denote
* theme-specific resource paths and not client-visible messages.
- * @param code code of the message
+ * @param code the code of the message
* @param args arguments for the message, or {@code null} if none
* @param defaultMessage the String to return if the lookup fails
* @return the message
@@ -757,7 +757,7 @@ public class RequestContext {
* Retrieve the theme message for the given code.
* Note that theme messages are never HTML-escaped, as they typically denote
* theme-specific resource paths and not client-visible messages.
- * @param code code of the message
+ * @param code the code of the message
* @param args arguments for the message as a List, or {@code null} if none
* @param defaultMessage the String to return if the lookup fails
* @return the message
@@ -772,7 +772,7 @@ public class RequestContext {
* Retrieve the theme message for the given code.
* Note that theme messages are never HTML-escaped, as they typically denote
* theme-specific resource paths and not client-visible messages.
- * @param code code of the message
+ * @param code the code of the message
* @return the message
* @throws org.springframework.context.NoSuchMessageException if not found
*/
@@ -784,7 +784,7 @@ public class RequestContext {
* Retrieve the theme message for the given code.
* Note that theme messages are never HTML-escaped, as they typically denote
* theme-specific resource paths and not client-visible messages.
- * @param code code of the message
+ * @param code the code of the message
* @param args arguments for the message, or {@code null} if none
* @return the message
* @throws org.springframework.context.NoSuchMessageException if not found
@@ -797,7 +797,7 @@ public class RequestContext {
* Retrieve the theme message for the given code.
* Note that theme messages are never HTML-escaped, as they typically denote
* theme-specific resource paths and not client-visible messages.
- * @param code code of the message
+ * @param code the code of the message
* @param args arguments for the message as a List, or {@code null} if none
* @return the message
* @throws org.springframework.context.NoSuchMessageException if not found
@@ -820,7 +820,7 @@ public class RequestContext {
/**
* Retrieve the Errors instance for the given bind object, using the "defaultHtmlEscape" setting.
- * @param name name of the bind object
+ * @param name the name of the bind object
* @return the Errors instance, or {@code null} if not found
*/
@Nullable
@@ -830,7 +830,7 @@ public class RequestContext {
/**
* Retrieve the Errors instance for the given bind object.
- * @param name name of the bind object
+ * @param name the name of the bind object
* @param htmlEscape create an Errors instance with automatic HTML escaping?
* @return the Errors instance, or {@code null} if not found
*/
diff --git a/spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/RouterFunctionDsl.kt b/spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/RouterFunctionDsl.kt
index d4cb76d638..56b6af2c8e 100644
--- a/spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/RouterFunctionDsl.kt
+++ b/spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/RouterFunctionDsl.kt
@@ -462,7 +462,7 @@ class RouterFunctionDsl internal constructor (private val init: (RouterFunctionD
* Return a [RequestPredicate] that tests the request's query parameter of the given name
* against the given predicate.
* @param name the name of the query parameter to test against
- * @param predicate predicate to test against the query parameter value
+ * @param predicate the predicate to test against the query parameter value
* @return a predicate that matches the given predicate against the query parameter of the given name
* @see ServerRequest#queryParam
*/
diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/adapter/AbstractWebSocketSession.java b/spring-websocket/src/main/java/org/springframework/web/socket/adapter/AbstractWebSocketSession.java
index 52dc133836..93dd652753 100644
--- a/spring-websocket/src/main/java/org/springframework/web/socket/adapter/AbstractWebSocketSession.java
+++ b/spring-websocket/src/main/java/org/springframework/web/socket/adapter/AbstractWebSocketSession.java
@@ -57,7 +57,7 @@ public abstract class AbstractWebSocketSession Servlet containers dn't expose a a client disconnected callback, see
+ * Servlet containers don't expose a client disconnected callback; see
* eclipse-ee4j/servlet-api#44.
* Therefore network IO failures may occur simply because a client has gone away,
* and that can fill the logs with unnecessary stack traces.
@@ -122,7 +122,7 @@ public abstract class AbstractSockJsSession implements SockJsSession {
* @param id the session ID
* @param config the SockJS service configuration options
* @param handler the recipient of SockJS messages
- * @param attributes attributes from the HTTP handshake to associate with the WebSocket
+ * @param attributes the attributes from the HTTP handshake to associate with the WebSocket
* session; the provided attributes are copied, the original map is not used.
*/
public AbstractSockJsSession(String id, SockJsServiceConfig config, WebSocketHandler handler,
diff --git a/src/docs/asciidoc/core/core-validation.adoc b/src/docs/asciidoc/core/core-validation.adoc
index 14d0905fdb..a11db45de6 100644
--- a/src/docs/asciidoc/core/core-validation.adoc
+++ b/src/docs/asciidoc/core/core-validation.adoc
@@ -29,11 +29,11 @@ formatting UI field values. You can use these packages as simpler alternatives t
`PropertyEditorSupport` implementations. They are also discussed in this chapter.
Spring supports Java Bean Validation through setup infrastructure and an adaptor to
-Spring's own `Validator` contract. Application can enable Bean Validation once globally,
+Spring's own `Validator` contract. Applications can enable Bean Validation once globally,
as described in <