From 44e652f99ee4d1cb6aa19545202735e9fc06dfe4 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 19 Apr 2016 10:54:30 +0900 Subject: [PATCH] Remove duplicate words Closes gh-1039 --- .../main/java/org/aopalliance/intercept/Interceptor.java | 2 +- .../springframework/aop/aspectj/DeclareParentsAdvisor.java | 2 +- .../aop/framework/autoproxy/AutoProxyUtils.java | 2 +- .../beans/AbstractNestablePropertyAccessor.java | 2 +- .../src/main/java/org/springframework/beans/BeanUtils.java | 2 +- .../beans/factory/access/SingletonBeanFactoryLocator.java | 6 +++--- .../factory/config/InstantiationAwareBeanPostProcessor.java | 2 +- .../org/springframework/beans/factory/config/Scope.java | 2 +- .../beans/factory/support/AbstractBeanDefinitionReader.java | 2 +- .../beans/propertyeditors/StringArrayPropertyEditor.java | 4 ++-- .../org/springframework/cache/transaction/package-info.java | 2 +- .../ui/freemarker/FreeMarkerConfigurationFactory.java | 6 +++--- .../springframework/ui/velocity/VelocityEngineFactory.java | 2 +- .../src/main/java/org/springframework/cache/Cache.java | 2 +- .../org/springframework/cache/annotation/EnableCaching.java | 2 +- .../org/springframework/cache/config/CacheAdviceParser.java | 2 +- .../cache/interceptor/CacheAspectSupport.java | 2 +- .../org/springframework/cache/support/package-info.java | 2 +- .../context/access/ContextSingletonBeanFactoryLocator.java | 4 ++-- .../context/annotation/ClassPathBeanDefinitionScanner.java | 2 +- .../context/support/DefaultLifecycleProcessor.java | 2 +- .../java/org/springframework/jmx/export/MBeanExporter.java | 2 +- .../jmx/export/naming/IdentityNamingStrategy.java | 2 +- .../jmx/export/naming/KeyNamingStrategy.java | 2 +- .../org/springframework/jndi/JndiObjectFactoryBean.java | 2 +- .../scripting/support/ScriptFactoryPostProcessor.java | 2 +- .../java/org/springframework/aop/aspectj/_TestTypes.java | 2 +- .../src/main/java/org/springframework/asm/Frame.java | 2 +- .../org/springframework/util/FastByteArrayOutputStream.java | 2 +- .../util/ResizableByteArrayOutputStream.java | 2 +- .../springframework/util/comparator/CompoundComparator.java | 2 +- .../springframework/util/comparator/InstanceComparator.java | 2 +- .../springframework/util/xml/XmlValidationModeDetector.java | 2 +- .../expression/spel/ExpressionLanguageScenarioTests.java | 2 +- .../springframework/jdbc/object/StoredProcedureTests.java | 2 +- .../java/org/springframework/jms/annotation/EnableJms.java | 2 +- .../org/springframework/jms/connection/SessionProxy.java | 2 +- .../java/org/springframework/jms/support/JmsAccessor.java | 2 +- .../messaging/simp/config/TaskExecutorRegistration.java | 2 +- .../simp/stomp/StompBrokerRelayMessageHandler.java | 2 +- .../org/springframework/messaging/tcp/TcpConnection.java | 4 ++-- .../orm/hibernate3/LocalSessionFactoryBean.java | 6 +++--- .../java/org/springframework/orm/jpa/JpaVendorAdapter.java | 2 +- .../test/context/web/ServletTestExecutionListenerTests.java | 2 +- .../jca/endpoint/AbstractMessageEndpointFactory.java | 2 +- .../interceptor/DefaultTransactionAttribute.java | 2 +- .../interceptor/RuleBasedTransactionAttribute.java | 2 +- .../transaction/support/DefaultTransactionDefinition.java | 2 +- .../converter/xml/Jaxb2RootElementHttpMessageConverter.java | 2 +- .../springframework/web/bind/annotation/CrossOrigin.java | 2 +- .../request/async/DeferredResultProcessingInterceptor.java | 2 +- .../annotation/RequestParamMethodArgumentResolver.java | 4 ++-- .../web/method/support/ModelAndViewContainer.java | 2 +- .../web/portlet/context/PortletRequestHandledEvent.java | 2 +- .../web/servlet/mvc/ServletWrappingController.java | 2 +- .../mvc/method/annotation/MvcUriComponentsBuilder.java | 4 ++-- .../web/servlet/support/RequestContextUtils.java | 2 +- .../springframework/web/servlet/tags/form/CheckboxTag.java | 2 +- .../web/servlet/view/groovy/GroovyMarkupView.java | 2 +- .../view/jasperreports/JasperReportsMultiFormatView.java | 2 +- .../web/servlet/view/script/ScriptTemplateView.java | 2 +- .../servlet/handler/PathMatchingUrlHandlerMappingTests.java | 2 +- .../annotation/ServletInvocableHandlerMethodTests.java | 2 +- .../WebMvcStompWebSocketEndpointRegistration.java | 2 +- .../web/socket/messaging/SessionConnectEvent.java | 2 +- .../web/socket/config/spring-websocket-4.0.xsd | 2 +- .../web/socket/config/spring-websocket-4.1.xsd | 2 +- .../web/socket/config/spring-websocket-4.2.xsd | 2 +- .../web/socket/config/spring-websocket-4.3.xsd | 2 +- src/asciidoc/core-validation.adoc | 2 +- src/asciidoc/data-access.adoc | 2 +- src/asciidoc/overview.adoc | 2 +- src/asciidoc/testing.adoc | 2 +- src/asciidoc/web-mvc.adoc | 6 +++--- src/asciidoc/web-view.adoc | 2 +- 75 files changed, 88 insertions(+), 88 deletions(-) diff --git a/spring-aop/src/main/java/org/aopalliance/intercept/Interceptor.java b/spring-aop/src/main/java/org/aopalliance/intercept/Interceptor.java index ebdcf7c1dd4..eef409a74b5 100644 --- a/spring-aop/src/main/java/org/aopalliance/intercept/Interceptor.java +++ b/spring-aop/src/main/java/org/aopalliance/intercept/Interceptor.java @@ -26,7 +26,7 @@ import org.aopalliance.aop.Advice; * in) joinpoints. Runtime joinpoints can be invocations, field * access, exceptions... * - *

This interface is not used directly. Use the the sub-interfaces + *

This interface is not used directly. Use the sub-interfaces * to intercept specific events. For instance, the following class * implements some specific interceptors in order to implement a * debugger: diff --git a/spring-aop/src/main/java/org/springframework/aop/aspectj/DeclareParentsAdvisor.java b/spring-aop/src/main/java/org/springframework/aop/aspectj/DeclareParentsAdvisor.java index 3272b922210..47e461551ba 100644 --- a/spring-aop/src/main/java/org/springframework/aop/aspectj/DeclareParentsAdvisor.java +++ b/spring-aop/src/main/java/org/springframework/aop/aspectj/DeclareParentsAdvisor.java @@ -65,7 +65,7 @@ public class DeclareParentsAdvisor implements IntroductionAdvisor { /** * Private constructor to share common code between impl-based delegate and reference-based delegate - * (cannot use method such as init() to share common code, due the the use of final fields) + * (cannot use method such as init() to share common code, due the use of final fields) * @param interfaceType static field defining the introduction * @param typePattern type pattern the introduction is restricted to * @param implementationClass implementation class diff --git a/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AutoProxyUtils.java b/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AutoProxyUtils.java index a771146f38b..af39672c6c4 100644 --- a/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AutoProxyUtils.java +++ b/spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AutoProxyUtils.java @@ -35,7 +35,7 @@ public abstract class AutoProxyUtils { * to be proxied with its target class (in case of it getting proxied in the first * place). The value is {@code Boolean.TRUE} or {@code Boolean.FALSE}. *

Proxy factories can set this attribute if they built a target class proxy - * for a specific bean, and want to enforce that that bean can always be cast + * for a specific bean, and want to enforce that bean can always be cast * to its target class (even if AOP advices get applied through auto-proxying). * @see #shouldProxyTargetClass */ 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 2f12def1e2c..df8931c4611 100644 --- a/spring-beans/src/main/java/org/springframework/beans/AbstractNestablePropertyAccessor.java +++ b/spring-beans/src/main/java/org/springframework/beans/AbstractNestablePropertyAccessor.java @@ -800,7 +800,7 @@ public abstract class AbstractNestablePropertyAccessor extends AbstractPropertyA /** * Recursively navigate to return a property accessor for the nested property path. - * @param propertyPath property property path, which may be nested + * @param propertyPath property path, which may be nested * @return a property accessor for the target bean */ @SuppressWarnings("unchecked") // avoid nested generic diff --git a/spring-beans/src/main/java/org/springframework/beans/BeanUtils.java b/spring-beans/src/main/java/org/springframework/beans/BeanUtils.java index 512ddddb8a3..3956ca93570 100644 --- a/spring-beans/src/main/java/org/springframework/beans/BeanUtils.java +++ b/spring-beans/src/main/java/org/springframework/beans/BeanUtils.java @@ -110,7 +110,7 @@ public abstract class BeanUtils { /** * Instantiate a class using its no-arg constructor and return the new instance - * as the the specified assignable type. + * as the specified assignable type. *

Useful in cases where * the type of the class to instantiate (clazz) is not available, but the type * desired (assignableTo) is known. diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/access/SingletonBeanFactoryLocator.java b/spring-beans/src/main/java/org/springframework/beans/factory/access/SingletonBeanFactoryLocator.java index d7758bc1077..45be73287e4 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/access/SingletonBeanFactoryLocator.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/access/SingletonBeanFactoryLocator.java @@ -88,7 +88,7 @@ import org.springframework.core.io.support.ResourcePatternUtils; * use object from a BeanFactory/ApplicationContext. One solutions is to make the * class created by the third party code be just a stub or proxy, which gets the * real object from a BeanFactory/ApplicationContext, and delegates to it. However, - * it is is not normally workable for the stub to create the BeanFactory on each + * it is not normally workable for the stub to create the BeanFactory on each * use, as depending on what is inside it, that can be an expensive operation. * Additionally, there is a fairly tight coupling between the stub and the name of * the definition resource for the BeanFactory/ApplicationContext. This is where @@ -291,7 +291,7 @@ public class SingletonBeanFactoryLocator implements BeanFactoryLocator { } /** - * Returns an instance which uses the the specified selector, as the name of the + * Returns an instance which uses the specified selector, as the name of the * definition file(s). In the case of a name with a Spring 'classpath*:' prefix, * or with no prefix, which is treated the same, the current thread context * ClassLoader's {@code getResources} method will be called with this value @@ -341,7 +341,7 @@ public class SingletonBeanFactoryLocator implements BeanFactoryLocator { /** - * Constructor which uses the the specified name as the resource name + * Constructor which uses the specified name as the resource name * of the definition file(s). * @param resourceLocation the Spring resource location to use * (either a URL or a "classpath:" / "classpath*:" pseudo URL) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java b/spring-beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java index f508e3fff11..964ee204b27 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java @@ -96,7 +96,7 @@ public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor { * dependency types - which the factory handles specifically - already filtered out) * @param bean the bean instance created, but whose properties have not yet been set * @param beanName the name of the bean - * @return the actual property values to apply to to the given bean + * @return the actual property values to apply to the given bean * (can be the passed-in PropertyValues instance), or {@code null} * to skip property population * @throws org.springframework.beans.BeansException in case of errors diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/config/Scope.java b/spring-beans/src/main/java/org/springframework/beans/factory/config/Scope.java index 8777fa61e07..2911a123a1b 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/config/Scope.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/config/Scope.java @@ -100,7 +100,7 @@ public interface Scope { * at the appropriate time. If such a callback is not supported by the * underlying runtime environment at all, the callback must be * ignored and a corresponding warning should be logged. - *

Note that 'destruction' refers to to automatic destruction of + *

Note that 'destruction' refers to automatic destruction of * the object as part of the scope's own lifecycle, not to the individual * scoped object having been explicitly removed by the application. * If a scoped object gets removed via this facade's {@link #remove(String)} diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinitionReader.java b/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinitionReader.java index e90712fc26a..bca9efeba92 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinitionReader.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinitionReader.java @@ -68,7 +68,7 @@ public abstract class AbstractBeanDefinitionReader implements EnvironmentCapable * {@link org.springframework.context.ApplicationContext} implementations. *

If given a plain BeanDefinitionRegistry, the default ResourceLoader will be a * {@link org.springframework.core.io.support.PathMatchingResourcePatternResolver}. - *

If the the passed-in bean factory also implements {@link EnvironmentCapable} its + *

If the passed-in bean factory also implements {@link EnvironmentCapable} its * environment will be used by this reader. Otherwise, the reader will initialize and * use a {@link StandardEnvironment}. All ApplicationContext implementations are * EnvironmentCapable, while normal BeanFactory implementations are not. diff --git a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/StringArrayPropertyEditor.java b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/StringArrayPropertyEditor.java index c8875b388b3..85adf515677 100644 --- a/spring-beans/src/main/java/org/springframework/beans/propertyeditors/StringArrayPropertyEditor.java +++ b/spring-beans/src/main/java/org/springframework/beans/propertyeditors/StringArrayPropertyEditor.java @@ -84,7 +84,7 @@ public class StringArrayPropertyEditor extends PropertyEditorSupport { * @param emptyArrayAsNull {@code true} if an empty String array * is to be transformed into {@code null} * @param trimValues {@code true} if the values in the parsed arrays - * are to be be trimmed of whitespace (default is true). + * are to be trimmed of whitespace (default is true). */ public StringArrayPropertyEditor(String separator, boolean emptyArrayAsNull, boolean trimValues) { this(separator, null, emptyArrayAsNull, trimValues); @@ -112,7 +112,7 @@ public class StringArrayPropertyEditor extends PropertyEditorSupport { * @param emptyArrayAsNull {@code true} if an empty String array * is to be transformed into {@code null} * @param trimValues {@code true} if the values in the parsed arrays - * are to be be trimmed of whitespace (default is true). + * are to be trimmed of whitespace (default is true). */ public StringArrayPropertyEditor(String separator, String charsToDelete, boolean emptyArrayAsNull, boolean trimValues) { this.separator = separator; diff --git a/spring-context-support/src/main/java/org/springframework/cache/transaction/package-info.java b/spring-context-support/src/main/java/org/springframework/cache/transaction/package-info.java index 96743a8670c..7d210e6fdf1 100644 --- a/spring-context-support/src/main/java/org/springframework/cache/transaction/package-info.java +++ b/spring-context-support/src/main/java/org/springframework/cache/transaction/package-info.java @@ -1,5 +1,5 @@ /** - * Transaction-aware decorators for the the org.springframework.cache package. + * Transaction-aware decorators for the org.springframework.cache package. * Provides synchronization of put operations with Spring-managed transactions. */ package org.springframework.cache.transaction; 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 f85fb5006da..9cb27d29794 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 @@ -358,12 +358,12 @@ public class FreeMarkerConfigurationFactory { } /** - * To be overridden by subclasses that want to to register custom + * To be overridden by subclasses that want to register custom * TemplateLoader instances after this factory created its default * template loaders. *

Called by {@code createConfiguration()}. Note that specified * "postTemplateLoaders" will be registered after any loaders - * registered by this callback; as a consequence, they are are not + * registered by this callback; as a consequence, they are not * included in the given List. * @param templateLoaders the current List of TemplateLoader instances, * to be modified by a subclass @@ -395,7 +395,7 @@ public class FreeMarkerConfigurationFactory { } /** - * To be overridden by subclasses that want to to perform custom + * To be overridden by subclasses that want to perform custom * post-processing of the Configuration object after this factory * performed its default initialization. *

Called by {@code createConfiguration()}. 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 55c99e8045d..399208e8312 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 @@ -340,7 +340,7 @@ public class VelocityEngineFactory { } /** - * To be implemented by subclasses that want to to perform custom + * To be implemented by subclasses that want to perform custom * post-processing of the VelocityEngine after this FactoryBean * performed its default configuration (but before VelocityEngine.init). *

Called by {@code createVelocityEngine()}. diff --git a/spring-context/src/main/java/org/springframework/cache/Cache.java b/spring-context/src/main/java/org/springframework/cache/Cache.java index 1dbc4f4ffd1..94ac9369216 100644 --- a/spring-context/src/main/java/org/springframework/cache/Cache.java +++ b/spring-context/src/main/java/org/springframework/cache/Cache.java @@ -37,7 +37,7 @@ public interface Cache { String getName(); /** - * Return the the underlying native cache provider. + * Return the underlying native cache provider. */ Object getNativeCache(); diff --git a/spring-context/src/main/java/org/springframework/cache/annotation/EnableCaching.java b/spring-context/src/main/java/org/springframework/cache/annotation/EnableCaching.java index 511e4de60dc..6e8147fe704 100644 --- a/spring-context/src/main/java/org/springframework/cache/annotation/EnableCaching.java +++ b/spring-context/src/main/java/org/springframework/cache/annotation/EnableCaching.java @@ -99,7 +99,7 @@ import org.springframework.core.Ordered; *

For those that wish to establish a more direct relationship between * {@code @EnableCaching} and the exact cache manager bean to be used, * the {@link CachingConfigurer} callback interface may be implemented. - * Notice the the {@code @Override}-annotated methods below: + * Notice the {@code @Override}-annotated methods below: * *

  * @Configuration
diff --git a/spring-context/src/main/java/org/springframework/cache/config/CacheAdviceParser.java b/spring-context/src/main/java/org/springframework/cache/config/CacheAdviceParser.java
index 3c8210c9947..f4a626a7ecb 100644
--- a/spring-context/src/main/java/org/springframework/cache/config/CacheAdviceParser.java
+++ b/spring-context/src/main/java/org/springframework/cache/config/CacheAdviceParser.java
@@ -221,7 +221,7 @@ class CacheAdviceParser extends AbstractSingleBeanDefinitionParser {
 			}
 			else {
 				if (this.caches == null) {
-					readerCtx.error("No cache specified specified for " + element.getNodeName(), element);
+					readerCtx.error("No cache specified for " + element.getNodeName(), element);
 				}
 			}
 			builder.setCacheNames(localCaches);
diff --git a/spring-context/src/main/java/org/springframework/cache/interceptor/CacheAspectSupport.java b/spring-context/src/main/java/org/springframework/cache/interceptor/CacheAspectSupport.java
index db62c916268..f9700754e55 100644
--- a/spring-context/src/main/java/org/springframework/cache/interceptor/CacheAspectSupport.java
+++ b/spring-context/src/main/java/org/springframework/cache/interceptor/CacheAspectSupport.java
@@ -274,7 +274,7 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
 	 * Return a bean with the specified name and type. Used to resolve services that
 	 * are referenced by name in a {@link CacheOperation}.
 	 * @param beanName the name of the bean, as defined by the operation
-	 * @param expectedType type type for the bean
+	 * @param expectedType type for the bean
 	 * @return the bean matching that name
 	 * @throws org.springframework.beans.factory.NoSuchBeanDefinitionException if such bean does not exist
 	 * @see CacheOperation#keyGenerator
diff --git a/spring-context/src/main/java/org/springframework/cache/support/package-info.java b/spring-context/src/main/java/org/springframework/cache/support/package-info.java
index 38c95daf264..cf3f5d4f297 100644
--- a/spring-context/src/main/java/org/springframework/cache/support/package-info.java
+++ b/spring-context/src/main/java/org/springframework/cache/support/package-info.java
@@ -1,5 +1,5 @@
 /**
- * Support classes for the the org.springframework.cache package.
+ * Support classes for the org.springframework.cache package.
  * Provides abstract classes for cache managers and caches.
  */
 package org.springframework.cache.support;
diff --git a/spring-context/src/main/java/org/springframework/context/access/ContextSingletonBeanFactoryLocator.java b/spring-context/src/main/java/org/springframework/context/access/ContextSingletonBeanFactoryLocator.java
index 57df5694c88..619e334afc5 100644
--- a/spring-context/src/main/java/org/springframework/context/access/ContextSingletonBeanFactoryLocator.java
+++ b/spring-context/src/main/java/org/springframework/context/access/ContextSingletonBeanFactoryLocator.java
@@ -70,7 +70,7 @@ public class ContextSingletonBeanFactoryLocator extends SingletonBeanFactoryLoca
 	}
 
 	/**
-	 * Returns an instance which uses the the specified selector, as the name of the
+	 * Returns an instance which uses the specified selector, as the name of the
 	 * definition file(s). In the case of a name with a Spring "classpath*:" prefix,
 	 * or with no prefix, which is treated the same, the current thread's context class
 	 * loader's {@code getResources} method will be called with this value to get
@@ -112,7 +112,7 @@ public class ContextSingletonBeanFactoryLocator extends SingletonBeanFactoryLoca
 
 
 	/**
-	 * Constructor which uses the the specified name as the resource name
+	 * Constructor which uses the specified name as the resource name
 	 * of the definition file(s).
 	 * @param resourceLocation the Spring resource location to use
 	 * (either a URL or a "classpath:" / "classpath*:" pseudo URL)
diff --git a/spring-context/src/main/java/org/springframework/context/annotation/ClassPathBeanDefinitionScanner.java b/spring-context/src/main/java/org/springframework/context/annotation/ClassPathBeanDefinitionScanner.java
index b811d52d4c1..8e90baa5c0b 100644
--- a/spring-context/src/main/java/org/springframework/context/annotation/ClassPathBeanDefinitionScanner.java
+++ b/spring-context/src/main/java/org/springframework/context/annotation/ClassPathBeanDefinitionScanner.java
@@ -92,7 +92,7 @@ public class ClassPathBeanDefinitionScanner extends ClassPathScanningCandidateCo
 	 * implementations.
 	 * 

If given a plain {@code BeanDefinitionRegistry}, the default {@code ResourceLoader} * will be a {@link org.springframework.core.io.support.PathMatchingResourcePatternResolver}. - *

If the the passed-in bean factory also implements {@link EnvironmentCapable} its + *

If the passed-in bean factory also implements {@link EnvironmentCapable} its * environment will be used by this reader. Otherwise, the reader will initialize and * use a {@link org.springframework.core.env.StandardEnvironment}. All * {@code ApplicationContext} implementations are {@code EnvironmentCapable}, while diff --git a/spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java b/spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java index 9419e14b4c5..521d273f599 100644 --- a/spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java +++ b/spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java @@ -292,7 +292,7 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor *

The default implementation checks for the {@link Phased} interface. * Can be overridden to apply other/further policies. * @param bean the bean to introspect - * @return the phase an an integer value. The suggested default is 0. + * @return the phase an integer value. The suggested default is 0. * @see Phased * @see SmartLifecycle */ diff --git a/spring-context/src/main/java/org/springframework/jmx/export/MBeanExporter.java b/spring-context/src/main/java/org/springframework/jmx/export/MBeanExporter.java index 6fc0013ebcf..b9eb86caad2 100644 --- a/spring-context/src/main/java/org/springframework/jmx/export/MBeanExporter.java +++ b/spring-context/src/main/java/org/springframework/jmx/export/MBeanExporter.java @@ -570,7 +570,7 @@ public class MBeanExporter extends MBeanRegistrationSupport implements MBeanExpo * should be exposed to the {@code MBeanServer}. Specifically, if the * supplied {@code mapValue} is the name of a bean that is configured * for lazy initialization, then a proxy to the resource is registered with - * the {@code MBeanServer} so that the the lazy load behavior is + * the {@code MBeanServer} so that the lazy load behavior is * honored. If the bean is already an MBean then it will be registered * directly with the {@code MBeanServer} without any intervention. For * all other beans or bean names, the resource itself is registered with diff --git a/spring-context/src/main/java/org/springframework/jmx/export/naming/IdentityNamingStrategy.java b/spring-context/src/main/java/org/springframework/jmx/export/naming/IdentityNamingStrategy.java index 7db52fb8a0a..96626f07edb 100644 --- a/spring-context/src/main/java/org/springframework/jmx/export/naming/IdentityNamingStrategy.java +++ b/spring-context/src/main/java/org/springframework/jmx/export/naming/IdentityNamingStrategy.java @@ -26,7 +26,7 @@ import org.springframework.util.ObjectUtils; /** * An implementation of the {@code ObjectNamingStrategy} interface that - * creates a name based on the the identity of a given instance. + * creates a name based on the identity of a given instance. * *

The resulting {@code ObjectName} will be in the form * package:class=class name,hashCode=identity hash (in hex) diff --git a/spring-context/src/main/java/org/springframework/jmx/export/naming/KeyNamingStrategy.java b/spring-context/src/main/java/org/springframework/jmx/export/naming/KeyNamingStrategy.java index 0f4ed459911..5cb99a88948 100644 --- a/spring-context/src/main/java/org/springframework/jmx/export/naming/KeyNamingStrategy.java +++ b/spring-context/src/main/java/org/springframework/jmx/export/naming/KeyNamingStrategy.java @@ -70,7 +70,7 @@ public class KeyNamingStrategy implements ObjectNamingStrategy, InitializingBean /** * Stores the result of merging the {@code mappings} {@code Properties} - * with the the properties stored in the resources defined by {@code mappingLocations}. + * with the properties stored in the resources defined by {@code mappingLocations}. */ private Properties mergedMappings; diff --git a/spring-context/src/main/java/org/springframework/jndi/JndiObjectFactoryBean.java b/spring-context/src/main/java/org/springframework/jndi/JndiObjectFactoryBean.java index b86838bd9d7..dc22f0fb2d6 100644 --- a/spring-context/src/main/java/org/springframework/jndi/JndiObjectFactoryBean.java +++ b/spring-context/src/main/java/org/springframework/jndi/JndiObjectFactoryBean.java @@ -219,7 +219,7 @@ public class JndiObjectFactoryBean extends JndiObjectLocator } /** - * Lookup variant that that returns the specified "defaultObject" + * Lookup variant that returns the specified "defaultObject" * (if any) in case of lookup failure. * @return the located object, or the "defaultObject" as fallback * @throws NamingException in case of lookup failure without fallback diff --git a/spring-context/src/main/java/org/springframework/scripting/support/ScriptFactoryPostProcessor.java b/spring-context/src/main/java/org/springframework/scripting/support/ScriptFactoryPostProcessor.java index d91573d03aa..51ff49e148c 100644 --- a/spring-context/src/main/java/org/springframework/scripting/support/ScriptFactoryPostProcessor.java +++ b/spring-context/src/main/java/org/springframework/scripting/support/ScriptFactoryPostProcessor.java @@ -381,7 +381,7 @@ public class ScriptFactoryPostProcessor extends InstantiationAwareBeanPostProces * If the {@link BeanDefinition} has a * {@link org.springframework.core.AttributeAccessor metadata attribute} * under the key {@link #REFRESH_CHECK_DELAY_ATTRIBUTE} which is a valid {@link Number} - * type, then this value is used. Otherwise, the the {@link #defaultRefreshCheckDelay} + * type, then this value is used. Otherwise, the {@link #defaultRefreshCheckDelay} * value is used. * @param beanDefinition the BeanDefinition to check * @return the refresh check delay diff --git a/spring-context/src/test/java/org/springframework/aop/aspectj/_TestTypes.java b/spring-context/src/test/java/org/springframework/aop/aspectj/_TestTypes.java index 1490cf357e1..e4ebeb133f8 100644 --- a/spring-context/src/test/java/org/springframework/aop/aspectj/_TestTypes.java +++ b/spring-context/src/test/java/org/springframework/aop/aspectj/_TestTypes.java @@ -36,7 +36,7 @@ final class _TestTypes { } /** - * Aspect used as part of before before advice binding tests and + * Aspect used as part of before advice binding tests and * serves as base class for a number of more specialized test aspects. * * @author Adrian Colyer diff --git a/spring-core/src/main/java/org/springframework/asm/Frame.java b/spring-core/src/main/java/org/springframework/asm/Frame.java index 29e71c5a5ab..389e416ba0b 100644 --- a/spring-core/src/main/java/org/springframework/asm/Frame.java +++ b/spring-core/src/main/java/org/springframework/asm/Frame.java @@ -163,7 +163,7 @@ final class Frame { private static final int LOCAL = 0x2000000; /** - * Kind of the the types that are relative to the stack of an input stack + * Kind of the types that are relative to the stack of an input stack * map frame. The value of such types is a position relatively to the top of * this stack. */ diff --git a/spring-core/src/main/java/org/springframework/util/FastByteArrayOutputStream.java b/spring-core/src/main/java/org/springframework/util/FastByteArrayOutputStream.java index c54591f0054..72afa88775a 100644 --- a/spring-core/src/main/java/org/springframework/util/FastByteArrayOutputStream.java +++ b/spring-core/src/main/java/org/springframework/util/FastByteArrayOutputStream.java @@ -53,7 +53,7 @@ public class FastByteArrayOutputStream extends OutputStream { // The size, in bytes, to use when allocating the first byte[] private final int initialBlockSize; - // The size, in bytes, to use when allocating the next next byte[] + // The size, in bytes, to use when allocating the next byte[] private int nextBlockSize = 0; // The number of bytes in previous buffers. diff --git a/spring-core/src/main/java/org/springframework/util/ResizableByteArrayOutputStream.java b/spring-core/src/main/java/org/springframework/util/ResizableByteArrayOutputStream.java index cb2cdfa284e..c4487ccf781 100644 --- a/spring-core/src/main/java/org/springframework/util/ResizableByteArrayOutputStream.java +++ b/spring-core/src/main/java/org/springframework/util/ResizableByteArrayOutputStream.java @@ -23,7 +23,7 @@ import java.io.ByteArrayOutputStream; *

* diff --git a/spring-core/src/main/java/org/springframework/util/comparator/CompoundComparator.java b/spring-core/src/main/java/org/springframework/util/comparator/CompoundComparator.java index a1051404151..c04735c81d1 100644 --- a/spring-core/src/main/java/org/springframework/util/comparator/CompoundComparator.java +++ b/spring-core/src/main/java/org/springframework/util/comparator/CompoundComparator.java @@ -24,7 +24,7 @@ import java.util.List; import org.springframework.util.Assert; /** - * A comparator that chains a sequence of one or more more Comparators. + * A comparator that chains a sequence of one or more Comparators. * *

A compound comparator calls each Comparator in sequence until a single * Comparator returns a non-zero result, or the comparators are exhausted and diff --git a/spring-core/src/main/java/org/springframework/util/comparator/InstanceComparator.java b/spring-core/src/main/java/org/springframework/util/comparator/InstanceComparator.java index 19d9d9bfd9d..8f033bad273 100644 --- a/spring-core/src/main/java/org/springframework/util/comparator/InstanceComparator.java +++ b/spring-core/src/main/java/org/springframework/util/comparator/InstanceComparator.java @@ -43,7 +43,7 @@ public class InstanceComparator implements Comparator { /** * Create a new {@link InstanceComparator} instance. * @param instanceOrder the ordered list of classes that should be used when comparing - * objects. Classes earlier in the list will be be given a higher priority. + * objects. Classes earlier in the list will be given a higher priority. */ public InstanceComparator(Class... instanceOrder) { Assert.notNull(instanceOrder, "'instanceOrder' must not be null"); diff --git a/spring-core/src/main/java/org/springframework/util/xml/XmlValidationModeDetector.java b/spring-core/src/main/java/org/springframework/util/xml/XmlValidationModeDetector.java index d924fd15ed3..227b216cbb6 100644 --- a/spring-core/src/main/java/org/springframework/util/xml/XmlValidationModeDetector.java +++ b/spring-core/src/main/java/org/springframework/util/xml/XmlValidationModeDetector.java @@ -120,7 +120,7 @@ public class XmlValidationModeDetector { /** - * Does the content contain the the DTD DOCTYPE declaration? + * Does the content contain the DTD DOCTYPE declaration? */ private boolean hasDoctype(String content) { return content.contains(DOCTYPE); diff --git a/spring-expression/src/test/java/org/springframework/expression/spel/ExpressionLanguageScenarioTests.java b/spring-expression/src/test/java/org/springframework/expression/spel/ExpressionLanguageScenarioTests.java index 348d3c37425..87530cd5bbd 100644 --- a/spring-expression/src/test/java/org/springframework/expression/spel/ExpressionLanguageScenarioTests.java +++ b/spring-expression/src/test/java/org/springframework/expression/spel/ExpressionLanguageScenarioTests.java @@ -47,7 +47,7 @@ import static org.junit.Assert.*; *

  • Some basic type converters are included *
  • properties/methods/constructors are discovered and invoked using reflection * - * The scenarios after that then how how to plug in extensions:
    + * The scenarios after that then how to plug in extensions:
    *
      *
    • Adding entries to the classpath that will be used to load types and define well known 'imports' *
    • Defining variables that are then accessible in the expression diff --git a/spring-jdbc/src/test/java/org/springframework/jdbc/object/StoredProcedureTests.java b/spring-jdbc/src/test/java/org/springframework/jdbc/object/StoredProcedureTests.java index 073c3e266ea..4c40aa9952b 100644 --- a/spring-jdbc/src/test/java/org/springframework/jdbc/object/StoredProcedureTests.java +++ b/spring-jdbc/src/test/java/org/springframework/jdbc/object/StoredProcedureTests.java @@ -189,7 +189,7 @@ public class StoredProcedureTests { TestJdbcTemplate t = new TestJdbcTemplate(); t.setDataSource(dataSource); // Will fail without the following, because we're not able to get a connection - // from the DataSource here if we need to to create an ExceptionTranslator + // from the DataSource here if we need to create an ExceptionTranslator t.setExceptionTranslator(new SQLStateSQLExceptionTranslator()); StoredProcedureConfiguredViaJdbcTemplate sp = new StoredProcedureConfiguredViaJdbcTemplate(t); diff --git a/spring-jms/src/main/java/org/springframework/jms/annotation/EnableJms.java b/spring-jms/src/main/java/org/springframework/jms/annotation/EnableJms.java index a8767010c65..0d908450d2a 100644 --- a/spring-jms/src/main/java/org/springframework/jms/annotation/EnableJms.java +++ b/spring-jms/src/main/java/org/springframework/jms/annotation/EnableJms.java @@ -108,7 +108,7 @@ import org.springframework.context.annotation.Import; *

      Annotated methods can use flexible signature; in particular, it is possible to use * the {@link org.springframework.messaging.Message Message} abstraction and related annotations, * see {@link JmsListener} Javadoc for more details. For instance, the following would - * inject the content of the message and a a custom "myCounter" JMS header: + * inject the content of the message and a custom "myCounter" JMS header: * *

        * @JmsListener(containerFactory = "myJmsListenerContainerFactory", destination="myQueue")
      diff --git a/spring-jms/src/main/java/org/springframework/jms/connection/SessionProxy.java b/spring-jms/src/main/java/org/springframework/jms/connection/SessionProxy.java
      index bf439aee095..e866b9ff6f1 100644
      --- a/spring-jms/src/main/java/org/springframework/jms/connection/SessionProxy.java
      +++ b/spring-jms/src/main/java/org/springframework/jms/connection/SessionProxy.java
      @@ -20,7 +20,7 @@ import javax.jms.Session;
       
       /**
        * Subinterface of {@link javax.jms.Session} to be implemented by
      - * Session proxies. Allows access to the the underlying target Session.
      + * Session proxies. Allows access to the underlying target Session.
        *
        * @author Juergen Hoeller
        * @since 2.0.4
      diff --git a/spring-jms/src/main/java/org/springframework/jms/support/JmsAccessor.java b/spring-jms/src/main/java/org/springframework/jms/support/JmsAccessor.java
      index 38538c73ec6..05352cf1d6e 100644
      --- a/spring-jms/src/main/java/org/springframework/jms/support/JmsAccessor.java
      +++ b/spring-jms/src/main/java/org/springframework/jms/support/JmsAccessor.java
      @@ -125,7 +125,7 @@ public abstract class JmsAccessor implements InitializingBean {
       	 * {@link Session} to send a message.
       	 * 

      Default is {@link Session#AUTO_ACKNOWLEDGE}. *

      Vendor-specific extensions to the acknowledgment mode can be set here as well. - *

      Note that that inside an EJB, the parameters to the + *

      Note that inside an EJB, the parameters to the * {@code create(Queue/Topic)Session(boolean transacted, int acknowledgeMode)} method * are not taken into account. Depending on the transaction context in the EJB, * the container makes its own decisions on these values. See section 17.3.5 diff --git a/spring-messaging/src/main/java/org/springframework/messaging/simp/config/TaskExecutorRegistration.java b/spring-messaging/src/main/java/org/springframework/messaging/simp/config/TaskExecutorRegistration.java index 80e9843f548..39ce080272e 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/simp/config/TaskExecutorRegistration.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/simp/config/TaskExecutorRegistration.java @@ -52,7 +52,7 @@ public class TaskExecutorRegistration { * in {@link java.util.concurrent.ThreadPoolExecutor ThreadPoolExecutor}. When * this strategy is used, the {@link #maxPoolSize(int) maxPoolSize} is ignored. *

      By default this is set to twice the value of - * {@link Runtime#availableProcessors()}. In an an application where tasks do not + * {@link Runtime#availableProcessors()}. In an application where tasks do not * block frequently, the number should be closer to or equal to the number of * available CPUs/cores. */ diff --git a/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java b/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java index 1eb2e496696..13b4c1815c3 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java @@ -60,7 +60,7 @@ import org.springframework.util.concurrent.ListenableFutureTask; * *

      This class also automatically opens a default "system" TCP connection to the message * broker that is used for sending messages that originate from the server application (as - * opposed to from a client). Such messages are are not associated with any client and + * opposed to from a client). Such messages are not associated with any client and * therefore do not have a session id header. The "system" connection is effectively * shared and cannot be used to receive messages. Several properties are provided to * configure the "system" connection including: diff --git a/spring-messaging/src/main/java/org/springframework/messaging/tcp/TcpConnection.java b/spring-messaging/src/main/java/org/springframework/messaging/tcp/TcpConnection.java index e7f59252d57..a4062e435fd 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/tcp/TcpConnection.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/tcp/TcpConnection.java @@ -39,14 +39,14 @@ public interface TcpConnection

      extends Closeable { ListenableFuture send(Message

      message); /** - * Register a task to invoke after a period of of read inactivity. + * Register a task to invoke after a period of read inactivity. * @param runnable the task to invoke * @param duration the amount of inactive time in milliseconds */ void onReadInactivity(Runnable runnable, long duration); /** - * Register a task to invoke after a period of of write inactivity. + * Register a task to invoke after a period of write inactivity. * @param runnable the task to invoke * @param duration the amount of inactive time in milliseconds */ diff --git a/spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java b/spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java index 404f93e1fb6..81b3b246bf2 100644 --- a/spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java +++ b/spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java @@ -521,7 +521,7 @@ public class LocalSessionFactoryBean extends AbstractSessionFactoryBean implemen } if (this.lobHandler != null) { // Make given LobHandler available for SessionFactory configuration. - // Do early because because mapping resource might refer to custom types. + // Do early because mapping resource might refer to custom types. configTimeLobHandlerHolder.set(this.lobHandler); } @@ -754,7 +754,7 @@ public class LocalSessionFactoryBean extends AbstractSessionFactoryBean implemen } /** - * To be implemented by subclasses that want to to register further mappings + * To be implemented by subclasses that want to register further mappings * on the Configuration object after this FactoryBean registered its specified * mappings. *

      Invoked before the {@code Configuration.buildMappings()} call, @@ -767,7 +767,7 @@ public class LocalSessionFactoryBean extends AbstractSessionFactoryBean implemen } /** - * To be implemented by subclasses that want to to perform custom + * To be implemented by subclasses that want to perform custom * post-processing of the Configuration object after this FactoryBean * performed its default initialization. *

      Invoked after the {@code Configuration.buildMappings()} call, diff --git a/spring-orm/src/main/java/org/springframework/orm/jpa/JpaVendorAdapter.java b/spring-orm/src/main/java/org/springframework/orm/jpa/JpaVendorAdapter.java index bf585adaaea..84923cf260c 100644 --- a/spring-orm/src/main/java/org/springframework/orm/jpa/JpaVendorAdapter.java +++ b/spring-orm/src/main/java/org/springframework/orm/jpa/JpaVendorAdapter.java @@ -52,7 +52,7 @@ public interface JpaVendorAdapter { *

      Note that there might be further JPA properties defined on * the EntityManagerFactory bean, which might potentially override * individual JPA property values specified here. - * @return a Map of JPA properties, as as accepted by the standard + * @return a Map of JPA properties, as accepted by the standard * JPA bootstrap facilities, or {@code null} or an empty Map * if there are no such properties to expose * @see javax.persistence.Persistence#createEntityManagerFactory(String, java.util.Map) diff --git a/spring-test/src/test/java/org/springframework/test/context/web/ServletTestExecutionListenerTests.java b/spring-test/src/test/java/org/springframework/test/context/web/ServletTestExecutionListenerTests.java index 5ca2113f279..55201245e54 100644 --- a/spring-test/src/test/java/org/springframework/test/context/web/ServletTestExecutionListenerTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/web/ServletTestExecutionListenerTests.java @@ -173,7 +173,7 @@ public class ServletTestExecutionListenerTests { } private void assertRequestAttributesDoNotExist() { - assertNull("request attributes should not not exist", RequestContextHolder.getRequestAttributes()); + assertNull("request attributes should not exist", RequestContextHolder.getRequestAttributes()); } private void assertSetUpOutsideOfStelAttributeExists() { diff --git a/spring-tx/src/main/java/org/springframework/jca/endpoint/AbstractMessageEndpointFactory.java b/spring-tx/src/main/java/org/springframework/jca/endpoint/AbstractMessageEndpointFactory.java index eae06de77cb..6b266172a22 100644 --- a/spring-tx/src/main/java/org/springframework/jca/endpoint/AbstractMessageEndpointFactory.java +++ b/spring-tx/src/main/java/org/springframework/jca/endpoint/AbstractMessageEndpointFactory.java @@ -58,7 +58,7 @@ public abstract class AbstractMessageEndpointFactory implements MessageEndpointF /** - * Set the the XA transaction manager to use for wrapping endpoint + * Set the XA transaction manager to use for wrapping endpoint * invocations, enlisting the endpoint resource in each such transaction. *

      The passed-in object may be a transaction manager which implements * Spring's {@link org.springframework.transaction.jta.TransactionFactory} diff --git a/spring-tx/src/main/java/org/springframework/transaction/interceptor/DefaultTransactionAttribute.java b/spring-tx/src/main/java/org/springframework/transaction/interceptor/DefaultTransactionAttribute.java index 8e016f25331..e253aabd76e 100644 --- a/spring-tx/src/main/java/org/springframework/transaction/interceptor/DefaultTransactionAttribute.java +++ b/spring-tx/src/main/java/org/springframework/transaction/interceptor/DefaultTransactionAttribute.java @@ -57,7 +57,7 @@ public class DefaultTransactionAttribute extends DefaultTransactionDefinition im } /** - * Create a new DefaultTransactionAttribute with the the given + * Create a new DefaultTransactionAttribute with the given * propagation behavior. Can be modified through bean property setters. * @param propagationBehavior one of the propagation constants in the * TransactionDefinition interface diff --git a/spring-tx/src/main/java/org/springframework/transaction/interceptor/RuleBasedTransactionAttribute.java b/spring-tx/src/main/java/org/springframework/transaction/interceptor/RuleBasedTransactionAttribute.java index 0d45ed9b9c4..a4444aa1032 100644 --- a/spring-tx/src/main/java/org/springframework/transaction/interceptor/RuleBasedTransactionAttribute.java +++ b/spring-tx/src/main/java/org/springframework/transaction/interceptor/RuleBasedTransactionAttribute.java @@ -82,7 +82,7 @@ public class RuleBasedTransactionAttribute extends DefaultTransactionAttribute i } /** - * Create a new DefaultTransactionAttribute with the the given + * Create a new DefaultTransactionAttribute with the given * propagation behavior. Can be modified through bean property setters. * @param propagationBehavior one of the propagation constants in the * TransactionDefinition interface diff --git a/spring-tx/src/main/java/org/springframework/transaction/support/DefaultTransactionDefinition.java b/spring-tx/src/main/java/org/springframework/transaction/support/DefaultTransactionDefinition.java index b83b01698b5..830e37ad72e 100644 --- a/spring-tx/src/main/java/org/springframework/transaction/support/DefaultTransactionDefinition.java +++ b/spring-tx/src/main/java/org/springframework/transaction/support/DefaultTransactionDefinition.java @@ -91,7 +91,7 @@ public class DefaultTransactionDefinition implements TransactionDefinition, Seri } /** - * Create a new DefaultTransactionDefinition with the the given + * Create a new DefaultTransactionDefinition with the given * propagation behavior. Can be modified through bean property setters. * @param propagationBehavior one of the propagation constants in the * TransactionDefinition interface diff --git a/spring-web/src/main/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverter.java b/spring-web/src/main/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverter.java index 55f36ba7c21..5be9e392c9d 100644 --- a/spring-web/src/main/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverter.java +++ b/spring-web/src/main/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverter.java @@ -51,7 +51,7 @@ import org.springframework.util.ClassUtils; * HttpMessageConverter} that can read and write XML using JAXB2. * *

      This converter can read classes annotated with {@link XmlRootElement} and - * {@link XmlType}, and write classes annotated with with {@link XmlRootElement}, + * {@link XmlType}, and write classes annotated with {@link XmlRootElement}, * or subclasses thereof. * *

      Note that if using Spring's Marshaller/Unmarshaller abstractions from the diff --git a/spring-web/src/main/java/org/springframework/web/bind/annotation/CrossOrigin.java b/spring-web/src/main/java/org/springframework/web/bind/annotation/CrossOrigin.java index 0a542527b7f..cd14c5a17bb 100644 --- a/spring-web/src/main/java/org/springframework/web/bind/annotation/CrossOrigin.java +++ b/spring-web/src/main/java/org/springframework/web/bind/annotation/CrossOrigin.java @@ -29,7 +29,7 @@ import org.springframework.core.annotation.AliasFor; * *

      By default, all origins and headers are permitted. * - *

      NOTE: {@code @CrossOrigin} will only be processed if an an appropriate + *

      NOTE: {@code @CrossOrigin} will only be processed if an appropriate * {@code HandlerMapping}-{@code HandlerAdapter} pair is configured such as the * {@code RequestMappingHandlerMapping}-{@code RequestMappingHandlerAdapter} pair * which are the default in the MVC Java config and the MVC namespace. diff --git a/spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResultProcessingInterceptor.java b/spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResultProcessingInterceptor.java index 638068a388e..89e5745f859 100644 --- a/spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResultProcessingInterceptor.java +++ b/spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResultProcessingInterceptor.java @@ -25,7 +25,7 @@ import org.springframework.web.context.request.NativeWebRequest; * *

      A {@code DeferredResultProcessingInterceptor} is invoked before the start * of async processing, after the {@code DeferredResult} is set as well as on - * timeout, or or after completing for any reason including a timeout or network + * timeout, or after completing for any reason including a timeout or network * error. * *

      As a general rule exceptions raised by interceptor methods will cause diff --git a/spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java b/spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java index 24bdb56cc4b..fc1e75b8a35 100644 --- a/spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java +++ b/spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java @@ -82,7 +82,7 @@ public class RequestParamMethodArgumentResolver extends AbstractNamedValueMethod /** * @param useDefaultResolution in default resolution mode a method argument * that is a simple type, as defined in {@link BeanUtils#isSimpleProperty}, - * is treated as a request parameter even if it it isn't annotated, the + * is treated as a request parameter even if it isn't annotated, the * request parameter name is derived from the method parameter name. */ public RequestParamMethodArgumentResolver(boolean useDefaultResolution) { @@ -95,7 +95,7 @@ public class RequestParamMethodArgumentResolver extends AbstractNamedValueMethod * values are not expected to contain expressions * @param useDefaultResolution in default resolution mode a method argument * that is a simple type, as defined in {@link BeanUtils#isSimpleProperty}, - * is treated as a request parameter even if it it isn't annotated, the + * is treated as a request parameter even if it isn't annotated, the * request parameter name is derived from the method parameter name. */ public RequestParamMethodArgumentResolver(ConfigurableBeanFactory beanFactory, boolean useDefaultResolution) { diff --git a/spring-web/src/main/java/org/springframework/web/method/support/ModelAndViewContainer.java b/spring-web/src/main/java/org/springframework/web/method/support/ModelAndViewContainer.java index a8cb4b6ea4a..ec97682464c 100644 --- a/spring-web/src/main/java/org/springframework/web/method/support/ModelAndViewContainer.java +++ b/spring-web/src/main/java/org/springframework/web/method/support/ModelAndViewContainer.java @@ -182,7 +182,7 @@ public class ModelAndViewContainer { /** * Provide a separate model instance to use in a redirect scenario. - * The provided additional model however is not used used unless + * The provided additional model however is not used unless * {@link #setRedirectModelScenario(boolean)} gets set to {@code true} to signal * a redirect scenario. */ diff --git a/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletRequestHandledEvent.java b/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletRequestHandledEvent.java index cf52db05c3d..ce047869b5c 100644 --- a/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletRequestHandledEvent.java +++ b/spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletRequestHandledEvent.java @@ -100,7 +100,7 @@ public class PortletRequestHandledEvent extends RequestHandledEvent { } /** - * Return the the type of Portlet Request ('action' or 'render'). + * Return the type of Portlet Request ('action' or 'render'). */ public String getRequestType() { return this.requestType; diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ServletWrappingController.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ServletWrappingController.java index 2c353e0e328..d50ef66fdf7 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ServletWrappingController.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ServletWrappingController.java @@ -153,7 +153,7 @@ public class ServletWrappingController extends AbstractController /** - * Invoke the the wrapped Servlet instance. + * Invoke the wrapped Servlet instance. * @see javax.servlet.Servlet#service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) */ @Override 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 25018ff9e63..d449b45d71b 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 @@ -304,7 +304,7 @@ public class MvcUriComponentsBuilder { *

      Note that it's not necessary to specify all arguments. Only the ones * required to prepare the URL, mainly {@code @RequestParam} and {@code @PathVariable}). * @param mappingName the mapping name - * @return a builder to to prepare the URI String + * @return a builder to prepare the URI String * @throws IllegalArgumentException if the mapping name is not found or * if there is no unique match * @since 4.1 @@ -321,7 +321,7 @@ public class MvcUriComponentsBuilder { * @param builder the builder for the base URL; the builder will be cloned * and therefore not modified and may be re-used for further calls. * @param name the mapping name - * @return a builder to to prepare the URI String + * @return a builder to prepare the URI String * @throws IllegalArgumentException if the mapping name is not found or * if there is no unique match * @since 4.2 diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContextUtils.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContextUtils.java index ac6e0769c24..8c854917d8c 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContextUtils.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContextUtils.java @@ -198,7 +198,7 @@ public abstract class RequestContextUtils { *

      Consider using {@link org.springframework.context.i18n.LocaleContextHolder#getTimeZone()} * which will normally be populated with the same TimeZone: That method only * differs in terms of its fallback to the system time zone if the LocaleResolver - * hasn't provided provided a specific time zone (instead of this method's {@code null}). + * hasn't provided a specific time zone (instead of this method's {@code null}). * @param request current HTTP request * @return the current time zone for the given request, either from the * TimeZoneAwareLocaleResolver or {@code null} if none associated diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxTag.java index ebde41ea32c..f0e619e9a86 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxTag.java @@ -38,7 +38,7 @@ import org.springframework.web.bind.WebDataBinder; * the bound {@link Collection}. *

      Approach Three

      * For any other bound value type, the '{@code input(checkbox)}' is marked as 'checked' - * if the the configured {@link #setValue(Object) value} is equal to the bound value. + * if the configured {@link #setValue(Object) value} is equal to the bound value. * * @author Rob Harrop * @author Juergen Hoeller diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupView.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupView.java index 290d96c7b68..38eda9811f4 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupView.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupView.java @@ -54,7 +54,7 @@ public class GroovyMarkupView extends AbstractTemplateView { /** * Set the MarkupTemplateEngine to use in this view. - *

      If not set, the engine is auto-detected by looking up up a single + *

      If not set, the engine is auto-detected by looking up a single * {@link GroovyMarkupConfig} bean in the web application context and using * it to obtain the configured {@code MarkupTemplateEngine} instance. * @see GroovyMarkupConfig diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/jasperreports/JasperReportsMultiFormatView.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/jasperreports/JasperReportsMultiFormatView.java index 7e9af07d16b..7821494d31e 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/jasperreports/JasperReportsMultiFormatView.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/jasperreports/JasperReportsMultiFormatView.java @@ -170,7 +170,7 @@ public class JasperReportsMultiFormatView extends AbstractJasperReportsView { String format = (String) model.get(this.formatKey); if (format == null) { - throw new IllegalArgumentException("No format format found in model"); + throw new IllegalArgumentException("No format found in model"); } if (logger.isDebugEnabled()) { diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateView.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateView.java index 908b273ea60..bd73623aff2 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateView.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateView.java @@ -55,7 +55,7 @@ import org.springframework.web.servlet.view.AbstractUrlBasedView; * An {@link AbstractUrlBasedView} subclass designed to run any template library * based on a JSR-223 script engine. * - *

      If not set, each property is auto-detected by looking up up a single + *

      If not set, each property is auto-detected by looking up a single * {@link ScriptTemplateConfig} bean in the web application context and using * it to obtain the configured properties. * diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/PathMatchingUrlHandlerMappingTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/PathMatchingUrlHandlerMappingTests.java index 323f6aa402a..c2ce3e358b2 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/PathMatchingUrlHandlerMappingTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/handler/PathMatchingUrlHandlerMappingTests.java @@ -126,7 +126,7 @@ public class PathMatchingUrlHandlerMappingTests { hec = getHandler(req); assertTrue("Handler is correct bean", hec != null && hec.getHandler() == bean); - // should match because because exact pattern is there + // should match because exact pattern is there req = new MockHttpServletRequest("GET", "/administrator/another/bla.xml"); hec = getHandler(req); assertTrue("Handler is correct bean", hec != null && hec.getHandler() == bean); diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethodTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethodTests.java index b1de33efb3e..af00f2ad789 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethodTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethodTests.java @@ -133,7 +133,7 @@ public class ServletInvocableHandlerMethodTests { ServletInvocableHandlerMethod handlerMethod = getHandlerMethod(new Handler(), "responseStatusWithReason"); handlerMethod.invokeAndHandle(this.webRequest, this.mavContainer); - assertTrue("When a status reason w/ used, the the request is handled", this.mavContainer.isRequestHandled()); + assertTrue("When a status reason w/ used, the request is handled", this.mavContainer.isRequestHandled()); assertEquals(HttpStatus.BAD_REQUEST.value(), this.response.getStatus()); assertEquals("400 Bad Request", this.response.getErrorMessage()); } diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebMvcStompWebSocketEndpointRegistration.java b/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebMvcStompWebSocketEndpointRegistration.java index ecac159632f..56582796b66 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebMvcStompWebSocketEndpointRegistration.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebMvcStompWebSocketEndpointRegistration.java @@ -36,7 +36,7 @@ import org.springframework.web.socket.sockjs.transport.handler.WebSocketTranspor import java.util.ArrayList; import java.util.List; /** - * An abstract base class class for configuring STOMP over WebSocket/SockJS endpoints. + * An abstract base class for configuring STOMP over WebSocket/SockJS endpoints. * * @author Rossen Stoyanchev * @since 4.0 diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/messaging/SessionConnectEvent.java b/spring-websocket/src/main/java/org/springframework/web/socket/messaging/SessionConnectEvent.java index 41006feae83..a372a0e24dd 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/messaging/SessionConnectEvent.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/messaging/SessionConnectEvent.java @@ -25,7 +25,7 @@ import org.springframework.messaging.Message; * (e.g. STOMP) as the WebSocket sub-protocol issues a connect request. * *

      Note that this is not the same as the WebSocket session getting established - * but rather the client's first attempt to connect within the the sub-protocol, + * but rather the client's first attempt to connect within the sub-protocol, * for example sending the STOMP CONNECT frame. * * @author Rossen Stoyanchev diff --git a/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.0.xsd b/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.0.xsd index 36fa8af6564..861fd865394 100644 --- a/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.0.xsd +++ b/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.0.xsd @@ -349,7 +349,7 @@ This is essentially the "Unbounded queues" strategy as explained in java.util.concurrent.ThreadPoolExecutor. When this strategy is used, the max pool size is effectively ignored. By default this is set to twice the value of Runtime.availableProcessors(). - In an an application where tasks do not block frequently, + In an application where tasks do not block frequently, the number should be closer to or equal to the number of available CPUs/cores. ]]> diff --git a/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.1.xsd b/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.1.xsd index a5cabbd6594..943a7db4861 100644 --- a/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.1.xsd +++ b/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.1.xsd @@ -367,7 +367,7 @@ This is essentially the "Unbounded queues" strategy as explained in java.util.concurrent.ThreadPoolExecutor. When this strategy is used, the max pool size is effectively ignored. By default this is set to twice the value of Runtime.availableProcessors(). - In an an application where tasks do not block frequently, + In an application where tasks do not block frequently, the number should be closer to or equal to the number of available CPUs/cores. ]]> diff --git a/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.2.xsd b/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.2.xsd index f6a8718a181..f60e11cb668 100644 --- a/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.2.xsd +++ b/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.2.xsd @@ -407,7 +407,7 @@ This is essentially the "Unbounded queues" strategy as explained in java.util.concurrent.ThreadPoolExecutor. When this strategy is used, the max pool size is effectively ignored. By default this is set to twice the value of Runtime.availableProcessors(). - In an an application where tasks do not block frequently, + In an application where tasks do not block frequently, the number should be closer to or equal to the number of available CPUs/cores. ]]> diff --git a/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.3.xsd b/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.3.xsd index 3d5eb9e9e4f..10348c4ab0e 100644 --- a/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.3.xsd +++ b/spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.3.xsd @@ -407,7 +407,7 @@ This is essentially the "Unbounded queues" strategy as explained in java.util.concurrent.ThreadPoolExecutor. When this strategy is used, the max pool size is effectively ignored. By default this is set to twice the value of Runtime.availableProcessors(). - In an an application where tasks do not block frequently, + In an application where tasks do not block frequently, the number should be closer to or equal to the number of available CPUs/cores. ]]> diff --git a/src/asciidoc/core-validation.adoc b/src/asciidoc/core-validation.adoc index 3aa3be81f08..0374d8cfd88 100644 --- a/src/asciidoc/core-validation.adoc +++ b/src/asciidoc/core-validation.adoc @@ -1317,7 +1317,7 @@ See <> in the Spring MVC chapter. [[format-configuring-formatting-globaldatetimeformat]] == Configuring a global date & time format By default, date and time fields that are not annotated with `@DateTimeFormat` are -converted from strings using the the `DateFormat.SHORT` style. If you prefer, you can +converted from strings using the `DateFormat.SHORT` style. If you prefer, you can change this by defining your own global format. You will need to ensure that Spring does not register default formatters, and instead diff --git a/src/asciidoc/data-access.adoc b/src/asciidoc/data-access.adoc index 12c6d1662d3..333d764adcd 100644 --- a/src/asciidoc/data-access.adoc +++ b/src/asciidoc/data-access.adoc @@ -3435,7 +3435,7 @@ The batch update methods for this call returns an array of int arrays containing entry for each batch with an array of the number of affected rows for each update. The top level array's length indicates the number of batches executed and the second level array's length indicates the number of updates in that batch. The number of updates in each batch -should be the the batch size provided for all batches except for the last one that might +should be the batch size provided for all batches except for the last one that might be less, depending on the total number of update objects provided. The update count for each update statement is the one reported by the JDBC driver. If the count is not available, the JDBC driver returns a -2 value. diff --git a/src/asciidoc/overview.adoc b/src/asciidoc/overview.adoc index 183fec5e74d..827455054a2 100644 --- a/src/asciidoc/overview.adoc +++ b/src/asciidoc/overview.adoc @@ -260,7 +260,7 @@ container-managed transactions. All your custom business logic can be implemente simple POJOs and managed by Spring's IoC container. Additional services include support for sending email and validation that is independent of the web layer, which lets you choose where to execute validation rules. Spring's ORM support is integrated with JPA, -Hibernate and and JDO; for example, when using Hibernate, you can continue to use +Hibernate and JDO; for example, when using Hibernate, you can continue to use your existing mapping files and standard Hibernate `SessionFactory` configuration. Form controllers seamlessly integrate the web-layer with the domain model, removing the need for `ActionForms` or other classes that transform HTTP parameters to values for your diff --git a/src/asciidoc/testing.adoc b/src/asciidoc/testing.adoc index 44c42b312e1..03a8431a5ac 100644 --- a/src/asciidoc/testing.adoc +++ b/src/asciidoc/testing.adoc @@ -3592,7 +3592,7 @@ manual, the javadocs for `@SqlConfig` and `SqlScriptsTestExecutionListener` prov detailed information, and the following example demonstrates a typical testing scenario using JUnit and transactional tests with `@Sql`. Note that there is no need to clean up the database after the `usersTest()` method is executed since any changes made to the -database (either within the the test method or within the `/test-data.sql` script) will +database (either within the test method or within the `/test-data.sql` script) will be automatically rolled back by the `TransactionalTestExecutionListener` (see <> for details). diff --git a/src/asciidoc/web-mvc.adoc b/src/asciidoc/web-mvc.adoc index 7ac6035da61..9489249b450 100644 --- a/src/asciidoc/web-mvc.adoc +++ b/src/asciidoc/web-mvc.adoc @@ -1300,7 +1300,7 @@ multiple requests are allowed to access a session concurrently. methods and/or the HandlerAdapter configuration. See the `webBindingInitializer` property on `RequestMappingHandlerAdapter`. Such command objects along with their validation results will be exposed as model attributes by default, using the command - class class name - e.g. model attribute "orderAddress" for a command object of type + class name - e.g. model attribute "orderAddress" for a command object of type "some.package.OrderAddress". The `ModelAttribute` annotation can be used on a method argument to customize the model attribute name used. * `org.springframework.validation.Errors` / @@ -1685,7 +1685,7 @@ Given the above example where can the Pet instance come from? There are several more detail below). * It may be instantiated using its default constructor. -An `@ModelAttribute` method is a common way to to retrieve an attribute from the +An `@ModelAttribute` method is a common way to retrieve an attribute from the database, which may optionally be stored between requests through the use of `@SessionAttributes`. In some cases it may be convenient to retrieve the attribute by using an URI template variable and a type converter. Here is an example: @@ -3929,7 +3929,7 @@ raised the status code may indicate a client error (4xx) or a server error (5xx) The `DefaultHandlerExceptionResolver` translates Spring MVC exceptions to specific error status codes. It is registered by default with the MVC namespace, the MVC Java config, -and also by the the `DispatcherServlet` (i.e. when not using the MVC namespace or Java +and also by the `DispatcherServlet` (i.e. when not using the MVC namespace or Java config). Listed below are some of the exceptions handled by this resolver and the corresponding status codes: diff --git a/src/asciidoc/web-view.adoc b/src/asciidoc/web-view.adoc index eecef7becef..637990f8f22 100644 --- a/src/asciidoc/web-view.adoc +++ b/src/asciidoc/web-view.adoc @@ -34,7 +34,7 @@ is another view technology, supported by Spring. This template engine is a templ aimed at generating XML-like markup (XML, XHTML, HTML5, ...​), but that can be used to generate any text based content. -This requires Groovy 2.3.1+ on the the classpath. +This requires Groovy 2.3.1+ on the classpath. [[view-groovymarkup-configuration]] === Configuration