Remove duplicate words
Closes gh-1039
This commit is contained in:
committed by
Stephane Nicoll
parent
50c11028d5
commit
44e652f99e
@@ -37,7 +37,7 @@ public interface Cache {
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Return the the underlying native cache provider.
|
||||
* Return the underlying native cache provider.
|
||||
*/
|
||||
Object getNativeCache();
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ import org.springframework.core.Ordered;
|
||||
* <p>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:
|
||||
*
|
||||
* <pre class="code">
|
||||
* @Configuration
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -92,7 +92,7 @@ public class ClassPathBeanDefinitionScanner extends ClassPathScanningCandidateCo
|
||||
* implementations.
|
||||
* <p>If given a plain {@code BeanDefinitionRegistry}, the default {@code ResourceLoader}
|
||||
* will be a {@link org.springframework.core.io.support.PathMatchingResourcePatternResolver}.
|
||||
* <p>If the the passed-in bean factory also implements {@link EnvironmentCapable} its
|
||||
* <p>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
|
||||
|
||||
@@ -292,7 +292,7 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor
|
||||
* <p>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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
* <p>The resulting {@code ObjectName} will be in the form
|
||||
* <i>package</i>:class=<i>class name</i>,hashCode=<i>identity hash (in hex)</i>
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user