Remove duplicate words
Closes gh-1039
This commit is contained in:
committed by
Stephane Nicoll
parent
50c11028d5
commit
44e652f99e
@@ -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
|
||||
|
||||
@@ -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.
|
||||
* <p>Useful in cases where
|
||||
* the type of the class to instantiate (clazz) is not available, but the type
|
||||
* desired (assignableTo) is known.
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 <i>must be
|
||||
* ignored and a corresponding warning should be logged</i>.
|
||||
* <p>Note that 'destruction' refers to to automatic destruction of
|
||||
* <p>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)}
|
||||
|
||||
@@ -68,7 +68,7 @@ public abstract class AbstractBeanDefinitionReader implements EnvironmentCapable
|
||||
* {@link org.springframework.context.ApplicationContext} implementations.
|
||||
* <p>If given a plain BeanDefinitionRegistry, the default 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 StandardEnvironment}. All ApplicationContext implementations are
|
||||
* EnvironmentCapable, while normal BeanFactory implementations are not.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user