diff --git a/build.gradle b/build.gradle index ee59933d03..120979a964 100644 --- a/build.gradle +++ b/build.gradle @@ -93,8 +93,9 @@ configure(allprojects) { project -> "http://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/", "http://ehcache.org/apidocs/", "http://quartz-scheduler.org/api/2.1.7/", - "http://jackson.codehaus.org/1.9.12/javadoc/", - "http://fasterxml.github.com/jackson-core/javadoc/2.2.2/", + "http://jackson.codehaus.org/1.9.4/javadoc/", + "http://fasterxml.github.com/jackson-core/javadoc/2.2.0/", + "http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs" ] as String[] } diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/config/CustomEditorConfigurer.java b/spring-beans/src/main/java/org/springframework/beans/factory/config/CustomEditorConfigurer.java index 2681fd7c32..a0dafe9631 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/config/CustomEditorConfigurer.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/config/CustomEditorConfigurer.java @@ -91,8 +91,6 @@ import org.springframework.util.ClassUtils; * @see ConfigurableBeanFactory#addPropertyEditorRegistrar * @see ConfigurableBeanFactory#registerCustomEditor * @see org.springframework.validation.DataBinder#registerCustomEditor - * @see org.springframework.web.servlet.mvc.BaseCommandController#setPropertyEditorRegistrars - * @see org.springframework.web.servlet.mvc.BaseCommandController#initBinder */ public class CustomEditorConfigurer implements BeanFactoryPostProcessor, Ordered { diff --git a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomBooleanEditor.java b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomBooleanEditor.java index 985ba1723c..8b1243546b 100644 --- a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomBooleanEditor.java +++ b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomBooleanEditor.java @@ -29,13 +29,11 @@ import org.springframework.util.StringUtils; * them in the UI form. * *
In web MVC code, this editor will typically be registered with - * {@code binder.registerCustomEditor} calls in an implementation - * of BaseCommandController's {@code initBinder} method. + * {@code binder.registerCustomEditor} calls. * * @author Juergen Hoeller * @since 10.06.2003 * @see org.springframework.validation.DataBinder#registerCustomEditor - * @see org.springframework.web.servlet.mvc.BaseCommandController#initBinder */ public class CustomBooleanEditor extends PropertyEditorSupport { diff --git a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomDateEditor.java b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomDateEditor.java index 36718b20e9..674e7422fe 100644 --- a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomDateEditor.java +++ b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomDateEditor.java @@ -33,15 +33,13 @@ import org.springframework.util.StringUtils; * and rendering them in the UI form. * *
In web MVC code, this editor will typically be registered with - * {@code binder.registerCustomEditor} calls in a custom - * {@code initBinder} method. + * {@code binder.registerCustomEditor}. * * @author Juergen Hoeller * @since 28.04.2003 * @see java.util.Date * @see java.text.DateFormat * @see org.springframework.validation.DataBinder#registerCustomEditor - * @see org.springframework.web.servlet.mvc.BaseCommandController#initBinder */ public class CustomDateEditor extends PropertyEditorSupport { diff --git a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomNumberEditor.java b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomNumberEditor.java index c946c621fb..890788c353 100644 --- a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomNumberEditor.java +++ b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomNumberEditor.java @@ -34,15 +34,13 @@ import org.springframework.util.StringUtils; * and rendering them in the UI form. * *
In web MVC code, this editor will typically be registered with - * {@code binder.registerCustomEditor} calls in a custom - * {@code initBinder} method. + * {@code binder.registerCustomEditor} calls. * * @author Juergen Hoeller * @since 06.06.2003 * @see Number * @see java.text.NumberFormat * @see org.springframework.validation.DataBinder#registerCustomEditor - * @see org.springframework.web.servlet.mvc.BaseCommandController#initBinder */ public class CustomNumberEditor extends PropertyEditorSupport { diff --git a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/StringTrimmerEditor.java b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/StringTrimmerEditor.java index da9c1eea94..c61ff722d7 100644 --- a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/StringTrimmerEditor.java +++ b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/StringTrimmerEditor.java @@ -28,7 +28,6 @@ import org.springframework.util.StringUtils; * * @author Juergen Hoeller * @see org.springframework.validation.DataBinder#registerCustomEditor - * @see org.springframework.web.servlet.mvc.BaseCommandController#initBinder */ public class StringTrimmerEditor extends PropertyEditorSupport { diff --git a/spring-beans/src/main/java/org/springframework/beans/support/MutableSortDefinition.java b/spring-beans/src/main/java/org/springframework/beans/support/MutableSortDefinition.java index 4f59e4d30e..0477554847 100644 --- a/spring-beans/src/main/java/org/springframework/beans/support/MutableSortDefinition.java +++ b/spring-beans/src/main/java/org/springframework/beans/support/MutableSortDefinition.java @@ -146,7 +146,7 @@ public class MutableSortDefinition implements SortDefinition, Serializable { /** * Return whether to toggle the ascending flag if the same property gets set again - * (that is, {@link #setProperty} gets called with already set property name again). + * (that is, {@code setProperty} gets called with already set property name again). */ public boolean isToggleAscendingOnProperty() { return this.toggleAscendingOnProperty; diff --git a/spring-context-support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java b/spring-context-support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java index fdadc8ac02..1b4e7bd1a1 100644 --- a/spring-context-support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java +++ b/spring-context-support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java @@ -194,7 +194,6 @@ public class FreeMarkerConfigurationFactory { * @see org.springframework.context.ApplicationContext#getResource * @see freemarker.template.Configuration#setDirectoryForTemplateLoading * @see SpringTemplateLoader - * @see #setTemplateLoaders */ public void setTemplateLoaderPaths(String... templateLoaderPaths) { this.templateLoaderPaths = templateLoaderPaths; diff --git a/spring-context-support/src/main/java/org/springframework/ui/velocity/VelocityEngineFactory.java b/spring-context-support/src/main/java/org/springframework/ui/velocity/VelocityEngineFactory.java index 31dd8ef513..1892533098 100644 --- a/spring-context-support/src/main/java/org/springframework/ui/velocity/VelocityEngineFactory.java +++ b/spring-context-support/src/main/java/org/springframework/ui/velocity/VelocityEngineFactory.java @@ -53,8 +53,8 @@ import org.springframework.util.StringUtils; * to the Spring application context. * *
If "overrideLogging" is true (the default), the VelocityEngine will be - * configured to log via Commons Logging, that is, using the Spring-provided - * {@link CommonsLoggingLogSystem} as log system. + * configured to log via Commons Logging, that is, using + * {@link CommonsLogLogChute} as log system. * *
The simplest way to use this class is to specify a * {@link #setResourceLoaderPath(String) "resourceLoaderPath"}; the @@ -66,7 +66,6 @@ import org.springframework.util.StringUtils; * @see #setResourceLoaderPath * @see #setOverrideLogging * @see #createVelocityEngine - * @see CommonsLoggingLogSystem * @see VelocityEngineFactoryBean * @see org.springframework.web.servlet.view.velocity.VelocityConfigurer * @see org.apache.velocity.app.VelocityEngine diff --git a/spring-context/src/main/java/org/springframework/context/annotation/LoadTimeWeavingConfiguration.java b/spring-context/src/main/java/org/springframework/context/annotation/LoadTimeWeavingConfiguration.java index c7935a547d..6b4ab8dd41 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/LoadTimeWeavingConfiguration.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/LoadTimeWeavingConfiguration.java @@ -34,7 +34,7 @@ import static org.springframework.context.weaving.AspectJWeavingEnabler.*; * {@code @Configuration} class that registers a {@link LoadTimeWeaver} bean. * *
This configuration class is automatically imported when using the - * @{@link EnableLoadTimeWeaving} annotation. See {@code @EnableLoadTimeWeaving} + * {@link EnableLoadTimeWeaving} annotation. See {@code @EnableLoadTimeWeaving} * javadoc for complete usage details. * * @author Chris Beams diff --git a/spring-context/src/main/java/org/springframework/context/annotation/MBeanExportConfiguration.java b/spring-context/src/main/java/org/springframework/context/annotation/MBeanExportConfiguration.java index e4f1f1bbb0..573b14e9f8 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/MBeanExportConfiguration.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/MBeanExportConfiguration.java @@ -39,7 +39,7 @@ import org.springframework.util.StringUtils; * {@code @Configuration} class that registers a {@link AnnotationMBeanExporter} bean. * *
This configuration class is automatically imported when using the - * @{@link EnableMBeanExport} annotation. See its javadoc for complete usage details. + * {@link EnableMBeanExport} annotation. See its javadoc for complete usage details. * * @author Phillip Webb * @author Chris Beams diff --git a/spring-context/src/main/java/org/springframework/instrument/classloading/glassfish/GlassFishLoadTimeWeaver.java b/spring-context/src/main/java/org/springframework/instrument/classloading/glassfish/GlassFishLoadTimeWeaver.java index 5070049af8..81222f3f5e 100644 --- a/spring-context/src/main/java/org/springframework/instrument/classloading/glassfish/GlassFishLoadTimeWeaver.java +++ b/spring-context/src/main/java/org/springframework/instrument/classloading/glassfish/GlassFishLoadTimeWeaver.java @@ -26,7 +26,7 @@ import org.springframework.util.ClassUtils; /** * {@link LoadTimeWeaver} implementation for GlassFish's - * {@link org.glassfish.api.deployment.InstrumentableClassLoader InstrumentableClassLoader}. + * {@code org.glassfish.api.deployment.InstrumentableClassLoader InstrumentableClassLoader}. * *
As of Spring 4.0, this weaver supports GlassFish V3 and V4. * diff --git a/spring-context/src/main/java/org/springframework/instrument/classloading/tomcat/package-info.java b/spring-context/src/main/java/org/springframework/instrument/classloading/tomcat/package-info.java index e724bb2d42..ffe30f6051 100644 --- a/spring-context/src/main/java/org/springframework/instrument/classloading/tomcat/package-info.java +++ b/spring-context/src/main/java/org/springframework/instrument/classloading/tomcat/package-info.java @@ -1,8 +1,5 @@ - /** - * * Support for class instrumentation on Tomcat. - * */ package org.springframework.instrument.classloading.tomcat; diff --git a/spring-context/src/main/java/org/springframework/validation/AbstractBindingResult.java b/spring-context/src/main/java/org/springframework/validation/AbstractBindingResult.java index 5d33eb37ec..9e162d13ca 100644 --- a/spring-context/src/main/java/org/springframework/validation/AbstractBindingResult.java +++ b/spring-context/src/main/java/org/springframework/validation/AbstractBindingResult.java @@ -262,15 +262,11 @@ public abstract class AbstractBindingResult extends AbstractErrors implements Bi * Adding things to the map and then re-calling this method will not work. *
The attributes in the model Map returned by this method are usually
* included in the ModelAndView for a form view that uses Spring's bind tag,
- * which needs access to the Errors instance. Spring's SimpleFormController
- * will do this for you when rendering its form or success view. When
- * building the ModelAndView yourself, you need to include the attributes
- * from the model Map returned by this method yourself.
+ * which needs access to the Errors instance.
* @see #getObjectName
* @see #MODEL_KEY_PREFIX
* @see org.springframework.web.servlet.ModelAndView
* @see org.springframework.web.servlet.tags.BindTag
- * @see org.springframework.web.servlet.mvc.SimpleFormController
*/
@Override
public Map The default implementation checks this AntPathMatcher's internal cache
- * (see {@link #setCachePatterns}, creating a new AntPathStringMatcher instance
- * through {@link AntPathStringMatcher#AntPathStringMatcher(String)} if none found.
+ * (see {@link #setCachePatterns}), creating a new AntPathStringMatcher instance
+ * if no cached copy is found.
* When encountering too many patterns to cache at runtime (the threshold is 65536),
* it turns the default cache off, assuming that arbitrary permutations of patterns
* are coming in, with little chance for encountering a reoccurring pattern.
diff --git a/spring-core/src/main/java/org/springframework/util/InvalidMimeTypeException.java b/spring-core/src/main/java/org/springframework/util/InvalidMimeTypeException.java
index f616b99fbf..7eff662059 100644
--- a/spring-core/src/main/java/org/springframework/util/InvalidMimeTypeException.java
+++ b/spring-core/src/main/java/org/springframework/util/InvalidMimeTypeException.java
@@ -17,7 +17,7 @@
package org.springframework.util;
/**
- * Exception thrown from {@link MediaType#parseMimeType(String)} in case of
+ * Exception thrown from {@link MimeTypeUtils#parseMimeType(String)} in case of
* encountering an invalid content type specification String.
*
* @author Juergen Hoeller
diff --git a/spring-core/src/main/java/org/springframework/util/MimeType.java b/spring-core/src/main/java/org/springframework/util/MimeType.java
index eb5fb4cf53..b8a7f337b0 100644
--- a/spring-core/src/main/java/org/springframework/util/MimeType.java
+++ b/spring-core/src/main/java/org/springframework/util/MimeType.java
@@ -33,17 +33,15 @@ import java.util.TreeSet;
* other Internet protocols including HTTP. This class however does not contain support
* the q-parameters used in HTTP content negotiation. Those can be found in the sub-class
* {@code org.springframework.http.MediaType} in the {@code spring-web} module.
- *
- * Consists of a {@linkplain #getType() type} and a {@linkplain #getSubtype() subtype}.
+ *
+ * Consists of a {@linkplain #getType() type} and a {@linkplain #getSubtype() subtype}.
* Also has functionality to parse media types from a string using
- * {@link #parseMimeType(String)}, or multiple comma-separated media types using
- * {@link #parseMimeTypes(String)}.
+ * {@link #valueOf(String)}. For more parsing options see {@link MimeTypeUtils}.
*
* @author Arjen Poutsma
* @author Juergen Hoeller
* @author Rossen Stoyanchev
* @since 4.0
- *
* @see MimeTypeUtils
*/
public class MimeType implements Comparable For instance, {@code text/*} is compatible with {@code text/plain}, {@code text/html}, and vice versa.
- * In effect, this method is similar to {@link #includes(MediaType)}, except that it is symmetric.
+ * For instance, {@code text/*} is compatible with {@code text/plain},
+ * {@code text/html}, and vice versa. In effect, this method is similar to
+ * {@link #includes}, except that it is symmetric.
* @param other the reference media type with which to compare
- * @return {@code true} if this media type is compatible with the given media type; {@code false} otherwise
+ * @return {@code true} if this media type is compatible with the given media type;
+ * {@code false} otherwise
*/
public boolean isCompatibleWith(MimeType other) {
if (other == null) {
@@ -369,7 +369,7 @@ public class MimeType implements Comparable
* Given two mime types:
*
diff --git a/spring-core/src/main/java/org/springframework/util/concurrent/FutureAdapter.java b/spring-core/src/main/java/org/springframework/util/concurrent/FutureAdapter.java
index fe0e7f03dd..dce6143963 100644
--- a/spring-core/src/main/java/org/springframework/util/concurrent/FutureAdapter.java
+++ b/spring-core/src/main/java/org/springframework/util/concurrent/FutureAdapter.java
@@ -26,7 +26,7 @@ import org.springframework.util.Assert;
/**
* Abstract class that adapts a {@link Future} parameterized over S into a {@code
* Future} parameterized over T. All methods are delegated to the adaptee, where {@link
- * #get()} and {@link #get(long, TimeUnit)} call {@@link #adapt(Object)} on the adaptee's
+ * #get()} and {@link #get(long, TimeUnit)} call {@link #adapt(Object)} on the adaptee's
* result.
*
* @param Inspired by {@link com.google.common.util.concurrent.ListenableFuture}.
+ * Inspired by {@code com.google.common.util.concurrent.ListenableFuture}.
* @author Arjen Poutsma
* @since 4.0
@@ -33,7 +33,6 @@ public interface ListenableFuture Inspired by {@link com.google.common.util.concurrent.ExecutionList}.
+ *
+ * Inspired by {@code com.google.common.util.concurrent.ExecutionList}.
+ *
* @author Arjen Poutsma
* @since 4.0
*/
diff --git a/spring-instrument-tomcat/src/main/java/org/springframework/instrument/classloading/tomcat/package-info.java b/spring-instrument-tomcat/src/main/java/org/springframework/instrument/classloading/tomcat/package-info.java
deleted file mode 100644
index d1bf3f7dbc..0000000000
--- a/spring-instrument-tomcat/src/main/java/org/springframework/instrument/classloading/tomcat/package-info.java
+++ /dev/null
@@ -1,8 +0,0 @@
-
-/**
- *
- * Support for class instrumentation on Apache Tomcat.
- *
- */
-package org.springframework.instrument.classloading.tomcat;
-
diff --git a/spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java b/spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java
index 70f60cbf1e..494b8f51d7 100644
--- a/spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java
+++ b/spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java
@@ -46,8 +46,8 @@ import org.springframework.util.ReflectionUtils;
*
* If you want to use dynamic destination creation, you must specify
* the type of JMS destination to create, using the "pubSubDomain" property.
- * For other operations, this is not necessary, in contrast to when working
- * with {@link JmsTemplate102}. Point-to-Point (Queues) is the default domain.
+ * For other operations, this is not necessary. Point-to-Point (Queues) is the default
+ * domain.
*
* Default settings for JMS Sessions are "not transacted" and "auto-acknowledge".
* As defined by the J2EE specification, the transaction and acknowledgement
diff --git a/spring-jms/src/main/java/org/springframework/jms/core/support/JmsGatewaySupport.java b/spring-jms/src/main/java/org/springframework/jms/core/support/JmsGatewaySupport.java
index 277e7ed893..8f0f7c94c2 100644
--- a/spring-jms/src/main/java/org/springframework/jms/core/support/JmsGatewaySupport.java
+++ b/spring-jms/src/main/java/org/springframework/jms/core/support/JmsGatewaySupport.java
@@ -63,11 +63,10 @@ public abstract class JmsGatewaySupport implements InitializingBean {
* Create a JmsTemplate for the given ConnectionFactory.
* Only invoked if populating the gateway with a ConnectionFactory reference.
* Can be overridden in subclasses to provide a JmsTemplate instance with
- * a different configuration or the JMS 1.0.2 version, JmsTemplate102.
+ * a different configuration.
* @param connectionFactory the JMS ConnectionFactory to create a JmsTemplate for
* @return the new JmsTemplate instance
* @see #setConnectionFactory
- * @see org.springframework.jms.core.JmsTemplate102
*/
protected JmsTemplate createJmsTemplate(ConnectionFactory connectionFactory) {
return new JmsTemplate(connectionFactory);
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 57da8dcbc7..52d6ec9493 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
@@ -54,7 +54,7 @@ public abstract class AbstractMessageSendingTemplate The default is {@link SimplePayloadMessageConverter}.
+ * The default is {@link SimpleMessageConverter}.
*/
public void setMessageConverter(MessageConverter messageConverter) {
Assert.notNull(messageConverter, "'messageConverter' must not be null");
diff --git a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java
index 4f17df9276..a8341ab7e0 100644
--- a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java
+++ b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/AbstractNamedValueMethodArgumentResolver.java
@@ -19,6 +19,7 @@ package org.springframework.messaging.handler.annotation.support;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
+import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.config.BeanExpressionContext;
import org.springframework.beans.factory.config.BeanExpressionResolver;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
@@ -37,20 +38,20 @@ import org.springframework.util.ClassUtils;
* Abstract base class for resolving method arguments from a named value. Message headers,
* and path variables are examples of named values. Each may have a name, a required flag,
* and a default value.
- *
- * Subclasses define how to do the following:
+ *
+ * Subclasses define how to do the following:
*
- * A default value string can contain ${...} placeholders and Spring Expression Language
- * #{...} expressions. For this to work a {@link ConfigurableBeanFactory} must be supplied
- * to the class constructor.
- *
- * A {@link ConversionService} may be used to apply type conversion to the resolved
+ *
+ * A default value string can contain ${...} placeholders and Spring Expression
+ * Language {@code #{...}} expressions. For this to work a {@link ConfigurableBeanFactory}
+ * must be supplied to the class constructor.
+ *
+ * A {@link ConversionService} may be used to apply type conversion to the resolved
* argument value if it doesn't match the method parameter type.
*
* @author Rossen Stoyanchev
@@ -70,12 +71,11 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle
/**
* Constructor with a {@link ConversionService} and a {@link BeanFactory}.
- *
* @param cs conversion service for converting values to match the
- * target method parameter type
- * @param beanFactory a bean factory to use for resolving ${...} placeholder and
- * #{...} SpEL expressions in default values, or {@code null} if default values
- * are not expected to contain expressions
+ * target method parameter type
+ * @param beanFactory a bean factory to use for resolving {@code ${...}} placeholder
+ * and {@code #{...}} SpEL expressions in default values, or {@code null} if default
+ * values are not expected to contain expressions
*/
protected AbstractNamedValueMethodArgumentResolver(ConversionService cs, ConfigurableBeanFactory beanFactory) {
this.conversionService = (cs != null) ? cs : new DefaultConversionService();
@@ -154,7 +154,6 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle
* @param parameter the method parameter to resolve to an argument value
* @param message the current request
* @param name the name of the value being resolved
- *
* @return the resolved argument. May be {@code null}
* @throws Exception in case of errors
*/
@@ -180,7 +179,6 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle
* Invoked when a named value is required, but
* {@link #resolveArgumentInternal(MethodParameter, Message, String)} returned {@code null} and
* there is no default value. Subclasses typically throw an exception in this case.
- *
* @param name the name for the value
* @param parameter the method parameter
* @param message the message being processed
@@ -208,7 +206,6 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle
/**
* Invoked after a value is resolved.
- *
* @param arg the resolved argument value
* @param name the argument name
* @param parameter the argument parameter type
diff --git a/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/DefaultUserDestinationResolver.java b/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/DefaultUserDestinationResolver.java
index a3e55f0a67..3be5bd5f5e 100644
--- a/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/DefaultUserDestinationResolver.java
+++ b/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/DefaultUserDestinationResolver.java
@@ -29,7 +29,7 @@ import java.util.HashSet;
import java.util.Set;
/**
- * A default implementation of {@link @UserDestinationResolver}.
+ * A default implementation of {@link UserDestinationResolver}.
*
* Resolves messages sent to destination patterns "/user/{user-name}/**" as well as
* subscriptions to destinations "/user/queue/**" where the "/user/" prefix used to
diff --git a/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/DefaultUserSessionRegistry.java b/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/DefaultUserSessionRegistry.java
index e8dc33b8a7..91340da743 100644
--- a/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/DefaultUserSessionRegistry.java
+++ b/spring-messaging/src/main/java/org/springframework/messaging/simp/handler/DefaultUserSessionRegistry.java
@@ -25,7 +25,7 @@ import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.CopyOnWriteArraySet;
/**
- * A default thread-safe implementation of {@link @UserSessionRegistry}.
+ * A default thread-safe implementation of {@link UserSessionRegistry}.
*
* @author Rossen Stoyanchev
* @since 4.0
diff --git a/spring-oxm/src/main/java/org/springframework/oxm/jaxb/Jaxb2Marshaller.java b/spring-oxm/src/main/java/org/springframework/oxm/jaxb/Jaxb2Marshaller.java
index 4f32468ff8..0837695e1c 100644
--- a/spring-oxm/src/main/java/org/springframework/oxm/jaxb/Jaxb2Marshaller.java
+++ b/spring-oxm/src/main/java/org/springframework/oxm/jaxb/Jaxb2Marshaller.java
@@ -36,6 +36,7 @@ import java.util.Calendar;
import java.util.Date;
import java.util.Map;
import java.util.UUID;
+
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.xml.XMLConstants;
@@ -63,6 +64,7 @@ import javax.xml.transform.Result;
import javax.xml.transform.Source;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.sax.SAXSource;
+import javax.xml.transform.stax.StAXSource;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;
@@ -74,7 +76,6 @@ import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.XMLReaderFactory;
-
import org.springframework.beans.factory.BeanClassLoaderAware;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.core.JdkVersion;
diff --git a/spring-test/src/main/java/org/springframework/mock/web/MockServletContext.java b/spring-test/src/main/java/org/springframework/mock/web/MockServletContext.java
index 8e4d74c721..6761ac17f7 100644
--- a/spring-test/src/main/java/org/springframework/mock/web/MockServletContext.java
+++ b/spring-test/src/main/java/org/springframework/mock/web/MockServletContext.java
@@ -182,7 +182,7 @@ public class MockServletContext implements ServletContext {
* Create a new MockServletContext using the supplied resource base path and
* resource loader.
* Registers a {@link MockRequestDispatcher} for the Servlet named
- * {@value #COMMON_DEFAULT_SERVLET_NAME}.
+ * {@literal 'default'}.
* @param resourceBasePath the root directory of the WAR (should not end with a slash)
* @param resourceLoader the ResourceLoader to use (or null for the default)
* @see #registerNamedDispatcher
@@ -383,7 +383,7 @@ public class MockServletContext implements ServletContext {
/**
* Get the name of the default {@code Servlet}.
- * Defaults to {@value #COMMON_DEFAULT_SERVLET_NAME}.
+ * Defaults to {@literal 'default'}.
* @see #setDefaultServletName
*/
public String getDefaultServletName() {
diff --git a/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestClassCallbacks.java b/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestClassCallbacks.java
index adb9acc305..385a287611 100644
--- a/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestClassCallbacks.java
+++ b/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestClassCallbacks.java
@@ -19,6 +19,7 @@ package org.springframework.test.context.junit4.statements;
import java.util.ArrayList;
import java.util.List;
+import org.junit.runners.model.MultipleFailureException;
import org.junit.runners.model.Statement;
import org.springframework.test.context.TestContextManager;
diff --git a/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestMethodCallbacks.java b/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestMethodCallbacks.java
index 05305bd9e1..8d489002f7 100644
--- a/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestMethodCallbacks.java
+++ b/spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestMethodCallbacks.java
@@ -20,6 +20,7 @@ import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
+import org.junit.runners.model.MultipleFailureException;
import org.junit.runners.model.Statement;
import org.springframework.test.context.TestContextManager;
diff --git a/spring-test/src/main/java/org/springframework/test/context/support/DirtiesContextTestExecutionListener.java b/spring-test/src/main/java/org/springframework/test/context/support/DirtiesContextTestExecutionListener.java
index 22b57df589..222b5ae3e5 100644
--- a/spring-test/src/main/java/org/springframework/test/context/support/DirtiesContextTestExecutionListener.java
+++ b/spring-test/src/main/java/org/springframework/test/context/support/DirtiesContextTestExecutionListener.java
@@ -72,7 +72,7 @@ public class DirtiesContextTestExecutionListener extends AbstractTestExecutionLi
* mode} is set to {@link ClassMode#AFTER_EACH_TEST_METHOD
* AFTER_EACH_TEST_METHOD}, the {@linkplain ApplicationContext application
* context} of the test context will be
- * {@linkplain TestContext#markApplicationContextDirty() marked as dirty} and the
+ * {@linkplain TestContext#markApplicationContextDirty marked as dirty} and the
* {@link DependencyInjectionTestExecutionListener#REINJECT_DEPENDENCIES_ATTRIBUTE}
* in the test context will be set to {@code true}.
*/
@@ -107,7 +107,7 @@ public class DirtiesContextTestExecutionListener extends AbstractTestExecutionLi
* If the test class of the supplied {@linkplain TestContext test context} is
* annotated with {@link DirtiesContext @DirtiesContext}, the
* {@linkplain ApplicationContext application context} of the test context will
- * be {@linkplain TestContext#markApplicationContextDirty() marked as dirty},
+ * be {@linkplain TestContext#markApplicationContextDirty marked as dirty},
* and the
* {@link DependencyInjectionTestExecutionListener#REINJECT_DEPENDENCIES_ATTRIBUTE
* REINJECT_DEPENDENCIES_ATTRIBUTE} in the test context will be set to
diff --git a/spring-tx/src/main/java/org/springframework/dao/support/DaoSupport.java b/spring-tx/src/main/java/org/springframework/dao/support/DaoSupport.java
index 91e29d1113..19cab06cb2 100644
--- a/spring-tx/src/main/java/org/springframework/dao/support/DaoSupport.java
+++ b/spring-tx/src/main/java/org/springframework/dao/support/DaoSupport.java
@@ -31,7 +31,6 @@ import org.springframework.beans.factory.InitializingBean;
* @author Juergen Hoeller
* @since 1.2.2
* @see org.springframework.jdbc.core.support.JdbcDaoSupport
- * @see org.springframework.orm.jdo.support.JdoDaoSupport
*/
public abstract class DaoSupport implements InitializingBean {
diff --git a/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionProxyFactoryBean.java b/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionProxyFactoryBean.java
index b6a26078da..1afea1cbcc 100644
--- a/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionProxyFactoryBean.java
+++ b/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionProxyFactoryBean.java
@@ -70,8 +70,7 @@ import org.springframework.transaction.PlatformTransactionManager;
* The "preInterceptors" and "postInterceptors" properties can be set to add
* additional interceptors to the mix, like
* {@link org.springframework.aop.interceptor.PerformanceMonitorInterceptor} or
- * {@link org.springframework.orm.hibernate3.HibernateInterceptor} /
- * {@link org.springframework.orm.jdo.JdoInterceptor}.
+ * {@link org.springframework.orm.hibernate3.HibernateInterceptor}.
*
* HINT: This class is often used with parent / child bean definitions.
* Typically, you will define the transaction manager and default transaction
diff --git a/spring-web/src/main/java/org/springframework/http/StreamingHttpOutputMessage.java b/spring-web/src/main/java/org/springframework/http/StreamingHttpOutputMessage.java
index 8ca6fd9bf4..f5c7a29f3e 100644
--- a/spring-web/src/main/java/org/springframework/http/StreamingHttpOutputMessage.java
+++ b/spring-web/src/main/java/org/springframework/http/StreamingHttpOutputMessage.java
@@ -29,21 +29,19 @@ public interface StreamingHttpOutputMessage extends HttpOutputMessage {
/**
* Sets the streaming body for this message.
- *
* @param body the streaming body
*/
void setBody(Body body);
/**
* Defines the contract for bodies that can be written directly to a
- * {@link OuputStream}. It is useful with HTTP client libraries that provide indirect
+ * {@link OutputStream}. It is useful with HTTP client libraries that provide indirect
* access to an {@link OutputStream} via a callback mechanism.
*/
public interface Body {
/**
- * Writes this body to the given {@link OuputStream}.
- *
+ * Writes this body to the given {@link OutputStream}.
* @param outputStream the output stream to write to
* @throws IOException in case of errors
*/
diff --git a/spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java b/spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java
index 92247824d7..a881340cad 100644
--- a/spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java
+++ b/spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java
@@ -63,7 +63,7 @@ import org.springframework.util.StringUtils;
* LinkedMultiValueMap<String, Object>(); parts.add("field 1", "value 1"); parts.add("file", new
* ClassPathResource("myFile.jpg")); template.postForLocation("http://example.com/myFileUpload", parts);
*
- * Some methods in this class were inspired by {@link org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity}.
+ * Some methods in this class were inspired by {@code org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity}.
*
* @author Arjen Poutsma
* @see MultiValueMap
diff --git a/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor.java b/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor.java
index 1d38370f7c..0e8136a562 100644
--- a/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor.java
+++ b/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor.java
@@ -64,7 +64,7 @@ public class HttpComponentsHttpInvokerRequestExecutor extends AbstractHttpInvoke
/**
* Create a new instance of the HttpComponentsHttpInvokerRequestExecutor with a default
- * {@link HttpClient} that uses a default {@link org.apache.http.impl.conn.PoolingClientConnectionManager}.
+ * {@link HttpClient} that uses a default {@code org.apache.http.impl.conn.PoolingClientConnectionManager}.
*/
public HttpComponentsHttpInvokerRequestExecutor() {
org.apache.http.conn.scheme.SchemeRegistry schemeRegistry = new org.apache.http.conn.scheme.SchemeRegistry();
diff --git a/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientInterceptor.java b/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientInterceptor.java
index 86ab131396..285ec33f72 100644
--- a/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientInterceptor.java
+++ b/spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerClientInterceptor.java
@@ -100,10 +100,10 @@ public class HttpInvokerClientInterceptor extends RemoteInvocationBasedAccessor
* Set the HttpInvokerRequestExecutor implementation to use for executing
* remote invocations.
* Default is {@link SimpleHttpInvokerRequestExecutor}. Alternatively,
- * consider using {@link CommonsHttpInvokerRequestExecutor} for more
+ * consider using {@link HttpComponentsHttpInvokerRequestExecutor} for more
* sophisticated needs.
* @see SimpleHttpInvokerRequestExecutor
- * @see CommonsHttpInvokerRequestExecutor
+ * @see HttpComponentsHttpInvokerRequestExecutor
*/
public void setHttpInvokerRequestExecutor(HttpInvokerRequestExecutor httpInvokerRequestExecutor) {
this.httpInvokerRequestExecutor = httpInvokerRequestExecutor;
diff --git a/spring-web/src/main/java/org/springframework/web/bind/ServletRequestDataBinder.java b/spring-web/src/main/java/org/springframework/web/bind/ServletRequestDataBinder.java
index 2b59850fbc..ad651bbe28 100644
--- a/spring-web/src/main/java/org/springframework/web/bind/ServletRequestDataBinder.java
+++ b/spring-web/src/main/java/org/springframework/web/bind/ServletRequestDataBinder.java
@@ -31,10 +31,6 @@ import org.springframework.web.util.WebUtils;
* which include specifying allowed/required fields, and registering custom
* property editors.
*
- * Used by Spring Web MVC's BaseCommandController and MultiActionController.
- * Note that BaseCommandController and its subclasses allow for easy customization
- * of the binder instances that they use through overriding {@code initBinder}.
- *
* Can also be used for manual data binding in custom web controllers:
* for example, in a plain Controller implementation or in a MultiActionController
* handler method. Simply instantiate a ServletRequestDataBinder for each binding
@@ -59,7 +55,6 @@ import org.springframework.web.util.WebUtils;
* @see #setAllowedFields
* @see #setRequiredFields
* @see #setFieldMarkerPrefix
- * @see org.springframework.web.servlet.mvc.BaseCommandController#initBinder
*/
public class ServletRequestDataBinder extends WebDataBinder {
@@ -99,7 +94,6 @@ public class ServletRequestDataBinder extends WebDataBinder {
* @param request request with parameters to bind (can be multipart)
* @see org.springframework.web.multipart.MultipartHttpServletRequest
* @see org.springframework.web.multipart.MultipartFile
- * @see #bindMultipartFiles
* @see #bind(org.springframework.beans.PropertyValues)
*/
public void bind(ServletRequest request) {
diff --git a/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java b/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java
index 9dbff1f5a0..8e810ee2ff 100644
--- a/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java
+++ b/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java
@@ -161,7 +161,7 @@ import java.util.concurrent.Callable;
*
* The following return types are supported for handler methods:
* Used by Spring Portlet MVC's BaseCommandController.
- * Note that BaseCommandController and its subclasses allow for easy customization
- * of the binder instances that they use through overriding {@code initBinder}.
- *
* Can also be used for manual data binding in custom web controllers:
* for example, in a plain Portlet Controller implementation. Simply instantiate
* a PortletRequestDataBinder for each binding process, and invoke {@code bind}
@@ -61,7 +57,6 @@ import org.springframework.web.portlet.util.PortletUtils;
* @see #setAllowedFields
* @see #setRequiredFields
* @see #setFieldMarkerPrefix
- * @see org.springframework.web.portlet.mvc.BaseCommandController#initBinder
*/
public class PortletRequestDataBinder extends WebDataBinder {
@@ -101,7 +96,6 @@ public class PortletRequestDataBinder extends WebDataBinder {
* @param request request with parameters to bind (can be multipart)
* @see org.springframework.web.portlet.multipart.MultipartActionRequest
* @see org.springframework.web.multipart.MultipartFile
- * @see #bindMultipartFiles
* @see #bind(org.springframework.beans.PropertyValues)
*/
public void bind(PortletRequest request) {
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java
index 17d43bda52..9afa51046f 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java
@@ -205,7 +205,7 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {
*
*
*
- * The above supports {@codce @PathVariable} and {@code @RequestParam} method parameters.
+ * The above supports {@code @PathVariable} and {@code @RequestParam} method parameters.
* Any other arguments can be provided as {@literal null} and will be ignored.
*
* Additional (custom) argument types can be supported through an implementation
diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/messaging/StompSubProtocolHandler.java b/spring-websocket/src/main/java/org/springframework/web/socket/messaging/StompSubProtocolHandler.java
index 0d95d8561e..0034f2d105 100644
--- a/spring-websocket/src/main/java/org/springframework/web/socket/messaging/StompSubProtocolHandler.java
+++ b/spring-websocket/src/main/java/org/springframework/web/socket/messaging/StompSubProtocolHandler.java
@@ -66,8 +66,7 @@ public class StompSubProtocolHandler implements SubProtocolHandler {
/**
* Provide a registry with which to register active user session ids.
- *
- * @see {@link org.springframework.messaging.simp.handler.UserDestinationMessageHandler}
+ * @see org.springframework.messaging.simp.handler.UserDestinationMessageHandler
*/
public void setUserSessionRegistry(UserSessionRegistry registry) {
this.userSessionRegistry = registry;
diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/server/config/WebSocketConfigurationSupport.java b/spring-websocket/src/main/java/org/springframework/web/socket/server/config/WebSocketConfigurationSupport.java
index c37685f39c..8dc2188847 100644
--- a/spring-websocket/src/main/java/org/springframework/web/socket/server/config/WebSocketConfigurationSupport.java
+++ b/spring-websocket/src/main/java/org/springframework/web/socket/server/config/WebSocketConfigurationSupport.java
@@ -45,7 +45,7 @@ public class WebSocketConfigurationSupport {
/**
* The default TaskScheduler to use if none is configured via
- * {@link SockJsServiceRegistration#setTaskScheduler()}, i.e.
+ * {@link SockJsServiceRegistration#setTaskScheduler}, i.e.
* The {@link #applyDefaultDecorators(WebSocketHandler)} method decorates the given
- * WebSocketHandler with a logging and exception handling decorators. This method can
- * be overridden to change that.
- *
* @author Rossen Stoyanchev
* @since 4.0
*/
diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/TransportHandlerSupport.java b/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/TransportHandlerSupport.java
index 7b0c737faa..fd8fba2762 100644
--- a/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/TransportHandlerSupport.java
+++ b/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/TransportHandlerSupport.java
@@ -23,7 +23,7 @@ import org.springframework.web.socket.sockjs.transport.session.SockJsServiceConf
/**
* @author Rossen Stoyanchev
- * @sicne 4.0
+ * @since 4.0
*/
public abstract class TransportHandlerSupport {
- *
*
*
- *
- *
* @Configuration
* @EnableWebSocket
diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/server/support/WebSocketHttpRequestHandler.java b/spring-websocket/src/main/java/org/springframework/web/socket/server/support/WebSocketHttpRequestHandler.java
index 0fac5055f0..8a2ea0ed1e 100644
--- a/spring-websocket/src/main/java/org/springframework/web/socket/server/support/WebSocketHttpRequestHandler.java
+++ b/spring-websocket/src/main/java/org/springframework/web/socket/server/support/WebSocketHttpRequestHandler.java
@@ -49,10 +49,6 @@ import org.springframework.web.socket.support.LoggingWebSocketHandlerDecorator;
* {@link HttpServletResponse} to {@link ServerHttpRequest} and {@link ServerHttpResponse}
* respectively.
*
- *