Skip to content

Commit 8242897

Browse files
committed
Merge branch '5.3.x'
2 parents 0b5c5db + 2e4d7e4 commit 8242897

File tree

47 files changed

+75
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+75
-74
lines changed

spring-aop/src/main/java/org/aopalliance/intercept/Joinpoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public interface Joinpoint {
6363
/**
6464
* Return the static part of this joinpoint.
6565
* <p>The static part is an accessible object on which a chain of
66-
* interceptors are installed.
66+
* interceptors is installed.
6767
*/
6868
@Nonnull
6969
AccessibleObject getStaticPart();

spring-aop/src/main/java/org/springframework/aop/IntroductionAwareMethodMatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public interface IntroductionAwareMethodMatcher extends MethodMatcher {
3636
* @param targetClass the target class
3737
* @param hasIntroductions {@code true} if the object on whose behalf we are
3838
* asking is the subject on one or more introductions; {@code false} otherwise
39-
* @return whether or not this method matches statically
39+
* @return whether this method matches statically
4040
*/
4141
boolean matches(Method method, Class<?> targetClass, boolean hasIntroductions);
4242

spring-aop/src/main/java/org/springframework/aop/MethodMatcher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public interface MethodMatcher {
6060
* will be made.
6161
* @param method the candidate method
6262
* @param targetClass the target class
63-
* @return whether or not this method matches statically
63+
* @return whether this method matches statically
6464
*/
6565
boolean matches(Method method, Class<?> targetClass);
6666

@@ -70,7 +70,7 @@ public interface MethodMatcher {
7070
* runtime even if the 2-arg matches method returns {@code true}?
7171
* <p>Can be invoked when an AOP proxy is created, and need not be invoked
7272
* again before each method invocation,
73-
* @return whether or not a runtime match via the 3-arg
73+
* @return whether a runtime match via the 3-arg
7474
* {@link #matches(java.lang.reflect.Method, Class, Object[])} method
7575
* is required if static matching passed
7676
*/

spring-aop/src/main/java/org/springframework/aop/SpringProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* Marker interface implemented by all AOP proxies. Used to detect
21-
* whether or not objects are Spring-generated proxies.
21+
* whether objects are Spring-generated proxies.
2222
*
2323
* @author Rob Harrop
2424
* @since 2.0.1

spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AspectJAdvisorFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939
public interface AspectJAdvisorFactory {
4040

4141
/**
42-
* Determine whether or not the given class is an aspect, as reported
42+
* Determine whether the given class is an aspect, as reported
4343
* by AspectJ's {@link org.aspectj.lang.reflect.AjTypeSystem}.
4444
* <p>Will simply return {@code false} if the supposed aspect is
4545
* invalid (such as an extension of a concrete aspect class).
4646
* Will return true for some aspects that Spring AOP cannot process,
4747
* such as those with unsupported instantiation models.
4848
* Use the {@link #validate} method to handle these cases if necessary.
4949
* @param clazz the supposed annotation-style AspectJ class
50-
* @return whether or not this class is recognized by AspectJ as an aspect class
50+
* @return whether this class is recognized by AspectJ as an aspect class
5151
*/
5252
boolean isAspect(Class<?> clazz);
5353

spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AspectMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class AspectMetadata implements Serializable {
6767

6868
/**
6969
* Spring AOP pointcut corresponding to the per clause of the
70-
* aspect. Will be the Pointcut.TRUE canonical instance in the
70+
* aspect. Will be the {@code Pointcut.TRUE} canonical instance in the
7171
* case of a singleton, otherwise an AspectJExpressionPointcut.
7272
*/
7373
private final Pointcut perClausePointcut;

spring-aop/src/main/java/org/springframework/aop/aspectj/autoproxy/AspectJAwareAdvisorAutoProxyCreator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ public class AspectJAwareAdvisorAutoProxyCreator extends AbstractAdvisorAutoProx
6060
* <li>Otherwise the advice declared first gets highest precedence (i.e., runs
6161
* first).</li>
6262
* </ul>
63-
* <p><b>Important:</b> Advisors are sorted in precedence order, from highest
64-
* precedence to lowest. "On the way in" to a join point, the highest precedence
63+
* <p><b>Important:</b> Advisors are sorted in precedence order, from the highest
64+
* precedence to the lowest. "On the way in" to a join point, the highest precedence
6565
* advisor should run first. "On the way out" of a join point, the highest
6666
* precedence advisor should run last.
6767
*/

spring-aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,15 +313,15 @@ public boolean replaceAdvisor(Advisor a, Advisor b) throws AopConfigException {
313313
}
314314

315315
/**
316-
* Add all of the given advisors to this proxy configuration.
316+
* Add all the given advisors to this proxy configuration.
317317
* @param advisors the advisors to register
318318
*/
319319
public void addAdvisors(Advisor... advisors) {
320320
addAdvisors(Arrays.asList(advisors));
321321
}
322322

323323
/**
324-
* Add all of the given advisors to this proxy configuration.
324+
* Add all the given advisors to this proxy configuration.
325325
* @param advisors the advisors to register
326326
*/
327327
public void addAdvisors(Collection<Advisor> advisors) {

spring-aop/src/main/java/org/springframework/aop/framework/JdkDynamicAopProxy.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ final class JdkDynamicAopProxy implements AopProxy, InvocationHandler, Serializa
7272
* NOTE: We could avoid the code duplication between this class and the CGLIB
7373
* proxies by refactoring "invoke" into a template method. However, this approach
7474
* adds at least 10% performance overhead versus a copy-paste solution, so we sacrifice
75-
* elegance for performance. (We have a good test suite to ensure that the different
76-
* proxies behave the same :-)
75+
* elegance for performance (we have a good test suite to ensure that the different
76+
* proxies behave the same :-)).
7777
* This way, we can also more easily take advantage of minor optimizations in each class.
7878
*/
7979

@@ -198,7 +198,7 @@ else if (!this.advised.opaque && method.getDeclaringClass().isInterface() &&
198198
// Get the interception chain for this method.
199199
List<Object> chain = this.advised.getInterceptorsAndDynamicInterceptionAdvice(method, targetClass);
200200

201-
// Check whether we have any advice. If we don't, we can fallback on direct
201+
// Check whether we have any advice. If we don't, we can fall back on direct
202202
// reflective invocation of the target, and avoid creating a MethodInvocation.
203203
if (chain.isEmpty()) {
204204
// We can skip creating a MethodInvocation: just invoke the target directly

spring-aop/src/main/java/org/springframework/aop/framework/ProxyFactoryBean.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
/**
5252
* {@link org.springframework.beans.factory.FactoryBean} implementation that builds an
53-
* AOP proxy based on beans in Spring {@link org.springframework.beans.factory.BeanFactory}.
53+
* AOP proxy based on beans in a Spring {@link org.springframework.beans.factory.BeanFactory}.
5454
*
5555
* <p>{@link org.aopalliance.intercept.MethodInterceptor MethodInterceptors} and
5656
* {@link org.springframework.aop.Advisor Advisors} are identified by a list of bean
@@ -61,10 +61,11 @@
6161
*
6262
* <p>Global interceptors and advisors can be added at the factory level. The specified
6363
* ones are expanded in an interceptor list where an "xxx*" entry is included in the
64-
* list, matching the given prefix with the bean names (e.g. "global*" would match
65-
* both "globalBean1" and "globalBean2", "*" all defined interceptors). The matching
66-
* interceptors get applied according to their returned order value, if they implement
67-
* the {@link org.springframework.core.Ordered} interface.
64+
* list, matching the given prefix with the bean names &mdash; for example, "global*"
65+
* would match both "globalBean1" and "globalBean2"; whereas, "*" would match all
66+
* defined interceptors. The matching interceptors get applied according to their
67+
* returned order value, if they implement the {@link org.springframework.core.Ordered}
68+
* interface.
6869
*
6970
* <p>Creates a JDK proxy when proxy interfaces are given, and a CGLIB proxy for the
7071
* actual target class if not. Note that the latter will only work if the target class
@@ -75,7 +76,7 @@
7576
* This won't work for existing prototype references, which are independent. However,
7677
* it will work for prototypes subsequently obtained from the factory. Changes to
7778
* interception will work immediately on singletons (including existing references).
78-
* However, to change interfaces or target it's necessary to obtain a new instance
79+
* However, to change interfaces or a target it's necessary to obtain a new instance
7980
* from the factory. This means that singleton instances obtained from the factory
8081
* do not have the same object identity. However, they do have the same interceptors
8182
* and target, and changing any reference will change all objects.
@@ -406,7 +407,7 @@ private boolean isNamedBeanAnAdvisorOrAdvice(String beanName) {
406407
if (namedBeanClass != null) {
407408
return (Advisor.class.isAssignableFrom(namedBeanClass) || Advice.class.isAssignableFrom(namedBeanClass));
408409
}
409-
// Treat it as an target bean if we can't tell.
410+
// Treat it as a target bean if we can't tell.
410411
if (logger.isDebugEnabled()) {
411412
logger.debug("Could not determine type of bean with name '" + beanName +
412413
"' - assuming it is neither an Advisor nor an Advice");

spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public abstract class AbstractAutoProxyCreator extends ProxyProcessorSupport
119119
private AdvisorAdapterRegistry advisorAdapterRegistry = GlobalAdvisorAdapterRegistry.getInstance();
120120

121121
/**
122-
* Indicates whether or not the proxy should be frozen. Overridden from super
122+
* Indicates whether the proxy should be frozen. Overridden from super
123123
* to prevent the configuration from becoming frozen too early.
124124
*/
125125
private boolean freezeProxy = false;
@@ -145,7 +145,7 @@ public abstract class AbstractAutoProxyCreator extends ProxyProcessorSupport
145145

146146

147147
/**
148-
* Set whether or not the proxy should be frozen, preventing advice
148+
* Set whether the proxy should be frozen, preventing advice
149149
* from being added to it once it is created.
150150
* <p>Overridden from the super class to prevent the proxy configuration
151151
* from being frozen before the proxy is created.

spring-aop/src/main/java/org/springframework/aop/interceptor/AbstractTraceInterceptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public abstract class AbstractTraceInterceptor implements MethodInterceptor, Ser
5656
protected transient Log defaultLogger = LogFactory.getLog(getClass());
5757

5858
/**
59-
* Indicates whether or not proxy class names should be hidden when using dynamic loggers.
59+
* Indicates whether proxy class names should be hidden when using dynamic loggers.
6060
* @see #setUseDynamicLogger
6161
*/
6262
private boolean hideProxyClassNames = false;
@@ -119,7 +119,7 @@ public void setLogExceptionStackTrace(boolean logExceptionStackTrace) {
119119

120120

121121
/**
122-
* Determines whether or not logging is enabled for the particular {@code MethodInvocation}.
122+
* Determines whether logging is enabled for the particular {@code MethodInvocation}.
123123
* If not, the method invocation proceeds as normal, otherwise the method invocation is passed
124124
* to the {@code invokeUnderTrace} method for handling.
125125
* @see #invokeUnderTrace(org.aopalliance.intercept.MethodInvocation, org.apache.commons.logging.Log)

spring-aop/src/main/java/org/springframework/aop/interceptor/AsyncUncaughtExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public interface AsyncUncaughtExceptionHandler {
3636
* Handle the given uncaught exception thrown from an asynchronous method.
3737
* @param ex the exception thrown from the asynchronous method
3838
* @param method the asynchronous method
39-
* @param params the parameters used to invoked the method
39+
* @param params the parameters used to invoke the method
4040
*/
4141
void handleUncaughtException(Throwable ex, Method method, Object... params);
4242

spring-aop/src/main/java/org/springframework/aop/support/AopUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public static boolean canApply(Pointcut pc, Class<?> targetClass) {
217217
* out a pointcut for a class.
218218
* @param pc the static or dynamic pointcut to check
219219
* @param targetClass the class to test
220-
* @param hasIntroductions whether or not the advisor chain
220+
* @param hasIntroductions whether the advisor chain
221221
* for this bean includes any introductions
222222
* @return whether the pointcut can apply on any method
223223
*/
@@ -261,7 +261,7 @@ public static boolean canApply(Pointcut pc, Class<?> targetClass, boolean hasInt
261261
/**
262262
* Can the given advisor apply at all on the given class?
263263
* This is an important test as it can be used to optimize
264-
* out a advisor for a class.
264+
* out an advisor for a class.
265265
* @param advisor the advisor to check
266266
* @param targetClass class we're testing
267267
* @return whether the pointcut can apply on any method
@@ -272,11 +272,11 @@ public static boolean canApply(Advisor advisor, Class<?> targetClass) {
272272

273273
/**
274274
* Can the given advisor apply at all on the given class?
275-
* <p>This is an important test as it can be used to optimize out a advisor for a class.
275+
* <p>This is an important test as it can be used to optimize out an advisor for a class.
276276
* This version also takes into account introductions (for IntroductionAwareMethodMatchers).
277277
* @param advisor the advisor to check
278278
* @param targetClass class we're testing
279-
* @param hasIntroductions whether or not the advisor chain for this bean includes
279+
* @param hasIntroductions whether the advisor chain for this bean includes
280280
* any introductions
281281
* @return whether the pointcut can apply on any method
282282
*/

spring-aop/src/main/java/org/springframework/aop/support/DefaultPointcutAdvisor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class DefaultPointcutAdvisor extends AbstractGenericPointcutAdvisor imple
4343

4444
/**
4545
* Create an empty DefaultPointcutAdvisor.
46-
* <p>Advice must be set before use using setter methods.
46+
* <p>Advice must be set before using setter methods.
4747
* Pointcut will normally be set also, but defaults to {@code Pointcut.TRUE}.
4848
*/
4949
public DefaultPointcutAdvisor() {

spring-aop/src/main/java/org/springframework/aop/support/MethodMatchers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public static MethodMatcher intersection(MethodMatcher mm1, MethodMatcher mm2) {
9090
* @param targetClass the target class
9191
* @param hasIntroductions {@code true} if the object on whose behalf we are
9292
* asking is the subject on one or more introductions; {@code false} otherwise
93-
* @return whether or not this method matches statically
93+
* @return whether this method matches statically
9494
*/
9595
public static boolean matches(MethodMatcher mm, Method method, Class<?> targetClass, boolean hasIntroductions) {
9696
Assert.notNull(mm, "MethodMatcher must not be null");

spring-aop/src/main/java/org/springframework/aop/target/AbstractPoolingTargetSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* {@link AbstractPrototypeBasedTargetSource} can be used to create objects
3838
* in order to put them into the pool.
3939
*
40-
* <p>Subclasses must also implement some of the monitoring methods from the
40+
* <p>Subclasses must also implement some monitoring methods from the
4141
* {@link PoolingConfig} interface. The {@link #getPoolingConfigMixin()} method
4242
* makes these stats available on proxied objects through an IntroductionAdvisor.
4343
*

spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ private Method getGetterFromSetter(Method setter) {
931931
return setter.getDeclaringClass().getMethod(getterName);
932932
}
933933
catch (NoSuchMethodException ex) {
934-
// must be write only
934+
// must be write-only
935935
return null;
936936
}
937937
}

spring-aspects/src/main/java/org/springframework/context/annotation/aspectj/EnableSpringConfigured.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
/**
2828
* Signals the current application context to apply dependency injection to
29-
* non-managed classes that are instantiated outside of the Spring bean factory
29+
* non-managed classes that are instantiated outside the Spring bean factory
3030
* (typically classes annotated with the
3131
* {@link org.springframework.beans.factory.annotation.Configurable @Configurable}
3232
* annotation).

spring-beans/src/main/java/org/springframework/beans/BeanWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public interface BeanWrapper extends ConfigurablePropertyAccessor {
8282
* Obtain the property descriptor for a specific property
8383
* of the wrapped object.
8484
* @param propertyName the property to obtain the descriptor for
85-
* (may be a nested path, but no indexed/mapped property)
85+
* (may be a nested path, but not an indexed/mapped property)
8686
* @return the property descriptor for the specified property
8787
* @throws InvalidPropertyException if there is no such property
8888
*/

spring-beans/src/main/java/org/springframework/beans/MutablePropertyValues.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public boolean isEmpty() {
326326
/**
327327
* Register the specified property as "processed" in the sense
328328
* of some processor calling the corresponding setter method
329-
* outside of the PropertyValue(s) mechanism.
329+
* outside the PropertyValue(s) mechanism.
330330
* <p>This will lead to {@code true} being returned from
331331
* a {@link #contains} call for the specified property.
332332
* @param propertyName the name of the property.

spring-beans/src/main/java/org/springframework/beans/PropertyEditorRegistrar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* {@link org.springframework.beans.PropertyEditorRegistry property editor registry}.
2323
*
2424
* <p>This is particularly useful when you need to use the same set of
25-
* property editors in several different situations: write a corresponding
25+
* property editors in several situations: write a corresponding
2626
* registrar and reuse that in each case.
2727
*
2828
* @author Juergen Hoeller

spring-beans/src/main/java/org/springframework/beans/factory/FactoryBean.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
*
4646
* <p><b>The container is only responsible for managing the lifecycle of the FactoryBean
4747
* instance, not the lifecycle of the objects created by the FactoryBean.</b> Therefore,
48-
* a destroy method on an exposed bean object (such as {@link java.io.Closeable#close()}
48+
* a destroy method on an exposed bean object (such as {@link java.io.Closeable#close()})
4949
* will <i>not</i> be called automatically. Instead, a FactoryBean should implement
5050
* {@link DisposableBean} and delegate any such close call to the underlying object.
5151
*
@@ -108,7 +108,7 @@ public interface FactoryBean<T> {
108108
* been fully initialized. It must not rely on state created during
109109
* initialization; of course, it can still use such state if available.
110110
* <p><b>NOTE:</b> Autowiring will simply ignore FactoryBeans that return
111-
* {@code null} here. Therefore it is highly recommended to implement
111+
* {@code null} here. Therefore, it is highly recommended to implement
112112
* this method properly, using the current state of the FactoryBean.
113113
* @return the type of object that this FactoryBean creates,
114114
* or {@code null} if not known at the time of the call

spring-beans/src/main/java/org/springframework/beans/factory/ListableBeanFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ <T> Map<String, T> getBeansOfType(@Nullable Class<T> type, boolean includeNonSin
343343

344344
/**
345345
* Find an {@link Annotation} of {@code annotationType} on the specified bean,
346-
* traversing its interfaces and super classes if no annotation can be found on
346+
* traversing its interfaces and superclasses if no annotation can be found on
347347
* the given class itself, as well as checking the bean's factory method (if any).
348348
* @param beanName the name of the bean to look for annotations on
349349
* @param annotationType the type of annotation to look for
@@ -361,7 +361,7 @@ <A extends Annotation> A findAnnotationOnBean(String beanName, Class<A> annotati
361361

362362
/**
363363
* Find an {@link Annotation} of {@code annotationType} on the specified bean,
364-
* traversing its interfaces and super classes if no annotation can be found on
364+
* traversing its interfaces and superclasses if no annotation can be found on
365365
* the given class itself, as well as checking the bean's factory method (if any).
366366
* @param beanName the name of the bean to look for annotations on
367367
* @param annotationType the type of annotation to look for

spring-beans/src/main/java/org/springframework/beans/factory/annotation/QualifierAnnotationAutowireCandidateResolver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public void setValueAnnotationType(Class<? extends Annotation> valueAnnotationTy
137137
* as a <em>qualifier</em>, the bean must 'match' against the annotation as
138138
* well as any attributes it may contain. The bean definition must contain
139139
* the same qualifier or match by meta attributes. A "value" attribute will
140-
* fallback to match against the bean name or an alias if a qualifier or
140+
* fall back to match against the bean name or an alias if a qualifier or
141141
* attribute does not match.
142142
* @see Qualifier
143143
*/
@@ -186,7 +186,7 @@ protected boolean checkQualifiers(BeanDefinitionHolder bdHolder, Annotation[] an
186186
if (isQualifier(metaType)) {
187187
foundMeta = true;
188188
// Only accept fallback match if @Qualifier annotation has a value...
189-
// Otherwise it is just a marker for a custom qualifier annotation.
189+
// Otherwise, it is just a marker for a custom qualifier annotation.
190190
if ((fallbackToMeta && ObjectUtils.isEmpty(AnnotationUtils.getValue(metaAnn))) ||
191191
!checkQualifier(bdHolder, metaAnn, typeConverter)) {
192192
return false;

spring-beans/src/main/java/org/springframework/beans/factory/config/BeanFactoryPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
* <p>A {@code BeanFactoryPostProcessor} may interact with and modify bean
3232
* definitions, but never bean instances. Doing so may cause premature bean
33-
* instantiation, violating the container and causing unintended side-effects.
33+
* instantiation, violating the container and causing unintended side effects.
3434
* If bean instance interaction is required, consider implementing
3535
* {@link BeanPostProcessor} instead.
3636
*

spring-beans/src/main/java/org/springframework/beans/factory/config/ConstructorArgumentValues.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public ConstructorArgumentValues(ConstructorArgumentValues original) {
6565

6666
/**
6767
* Copy all given argument values into this object, using separate holder
68-
* instances to keep the values independent from the original object.
68+
* instances to keep the values independent of the original object.
6969
* <p>Note: Identical ValueHolder instances will only be registered once,
7070
* to allow for merging and re-merging of argument value definitions. Distinct
7171
* ValueHolder instances carrying the same content are of course allowed.

0 commit comments

Comments
 (0)