Remove duplicate words in documentation and polish Javadoc
This commit is contained in:
@@ -33,9 +33,9 @@ public interface AfterReturningAdvice extends AfterAdvice {
|
||||
/**
|
||||
* Callback after a given method successfully returned.
|
||||
* @param returnValue the value returned by the method, if any
|
||||
* @param method method being invoked
|
||||
* @param args arguments to the method
|
||||
* @param target target of the method invocation. May be {@code null}.
|
||||
* @param method the method being invoked
|
||||
* @param args the arguments to the method
|
||||
* @param target the target of the method invocation. May be {@code null}.
|
||||
* @throws Throwable if this object wishes to abort the call.
|
||||
* Any exception thrown will be returned to the caller if it's
|
||||
* allowed by the method signature. Otherwise the exception
|
||||
|
||||
@@ -32,9 +32,9 @@ public interface MethodBeforeAdvice extends BeforeAdvice {
|
||||
|
||||
/**
|
||||
* Callback before a given method is invoked.
|
||||
* @param method method being invoked
|
||||
* @param args arguments to the method
|
||||
* @param target target of the method invocation. May be {@code null}.
|
||||
* @param method the method being invoked
|
||||
* @param args the arguments to the method
|
||||
* @param target the target of the method invocation. May be {@code null}.
|
||||
* @throws Throwable if this object wishes to abort the call.
|
||||
* Any exception thrown will be returned to the caller if it's
|
||||
* allowed by the method signature. Otherwise the exception
|
||||
|
||||
@@ -56,7 +56,7 @@ public class BeanFactoryAspectInstanceFactory implements MetadataAwareAspectInst
|
||||
* introspect to create AJType metadata using the type returned for the
|
||||
* given bean name from the BeanFactory.
|
||||
* @param beanFactory the BeanFactory to obtain instance(s) from
|
||||
* @param name name of the bean
|
||||
* @param name the name of the bean
|
||||
*/
|
||||
public BeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name) {
|
||||
this(beanFactory, name, null);
|
||||
|
||||
@@ -189,7 +189,7 @@ public abstract class AbstractSingletonProxyFactoryBean extends ProxyConfig
|
||||
|
||||
/**
|
||||
* Determine a TargetSource for the given target (or TargetSource).
|
||||
* @param target target. If this is an implementation of TargetSource it is
|
||||
* @param target the target. If this is an implementation of TargetSource it is
|
||||
* used as our TargetSource; otherwise it is wrapped in a SingletonTargetSource.
|
||||
* @return a TargetSource for this object
|
||||
*/
|
||||
|
||||
@@ -142,7 +142,7 @@ public interface Advised extends TargetClassAware {
|
||||
|
||||
/**
|
||||
* Remove the advisor at the given index.
|
||||
* @param index index of advisor to remove
|
||||
* @param index the index of advisor to remove
|
||||
* @throws AopConfigException if the index is invalid
|
||||
*/
|
||||
void removeAdvisor(int index) throws AopConfigException;
|
||||
@@ -177,7 +177,7 @@ public interface Advised extends TargetClassAware {
|
||||
* <p>Note that the given advice will apply to all invocations on the proxy,
|
||||
* even to the {@code toString()} method! Use appropriate advice implementations
|
||||
* or specify appropriate pointcuts to apply to a narrower set of methods.
|
||||
* @param advice advice to add to the tail of the chain
|
||||
* @param advice the advice to add to the tail of the chain
|
||||
* @throws AopConfigException in case of invalid advice
|
||||
* @see #addAdvice(int, Advice)
|
||||
* @see org.springframework.aop.support.DefaultPointcutAdvisor
|
||||
@@ -193,7 +193,7 @@ public interface Advised extends TargetClassAware {
|
||||
* even to the {@code toString()} method! Use appropriate advice implementations
|
||||
* or specify appropriate pointcuts to apply to a narrower set of methods.
|
||||
* @param pos index from 0 (head)
|
||||
* @param advice advice to add at the specified position in the advice chain
|
||||
* @param advice the advice to add at the specified position in the advice chain
|
||||
* @throws AopConfigException in case of invalid advice
|
||||
*/
|
||||
void addAdvice(int pos, Advice advice) throws AopConfigException;
|
||||
|
||||
@@ -78,7 +78,7 @@ public abstract class AbstractExpressionPointcut implements ExpressionPointcut,
|
||||
* Called when a new pointcut expression is set.
|
||||
* The expression should be parsed at this point if possible.
|
||||
* <p>This implementation is empty.
|
||||
* @param expression expression to set
|
||||
* @param expression the expression to set
|
||||
* @throws IllegalArgumentException if the expression is invalid
|
||||
* @see #setExpression
|
||||
*/
|
||||
|
||||
@@ -66,7 +66,7 @@ public class NameMatchMethodPointcut extends StaticMethodMatcherPointcut impleme
|
||||
* before a proxy is used.
|
||||
* <p><b>NB:</b> This method does not work after the proxy is in
|
||||
* use, as advice chains will be cached.
|
||||
* @param name name of the additional method that will match
|
||||
* @param name the name of the additional method that will match
|
||||
* @return this pointcut to allow for multiple additions in one line
|
||||
*/
|
||||
public NameMatchMethodPointcut addMethodName(String name) {
|
||||
|
||||
@@ -76,7 +76,7 @@ public class NameMatchMethodPointcutAdvisor extends AbstractGenericPointcutAdvis
|
||||
* Add another eligible method name, in addition to those already named.
|
||||
* Like the set methods, this method is for use when configuring proxies,
|
||||
* before a proxy is used.
|
||||
* @param name name of the additional method that will match
|
||||
* @param name the name of the additional method that will match
|
||||
* @return this pointcut to allow for multiple additions in one line
|
||||
* @see NameMatchMethodPointcut#addMethodName
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user