Skip to content

Commit 235b65d

Browse files
committed
Polishing
(cherry picked from commit b0f0d2f)
1 parent 8a28645 commit 235b65d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2013 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -81,7 +81,7 @@ public void setExecutor(Executor defaultExecutor) {
8181
* Set the {@link BeanFactory} to be used when looking up executors by qualifier.
8282
*/
8383
@Override
84-
public void setBeanFactory(BeanFactory beanFactory) throws BeansException {
84+
public void setBeanFactory(BeanFactory beanFactory) {
8585
this.beanFactory = beanFactory;
8686
}
8787

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2013 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -62,11 +62,11 @@ public class AsyncExecutionInterceptor extends AsyncExecutionAspectSupport
6262

6363
/**
6464
* Create a new {@code AsyncExecutionInterceptor}.
65-
* @param executor the {@link Executor} (typically a Spring {@link AsyncTaskExecutor}
65+
* @param defaultExecutor the {@link Executor} (typically a Spring {@link AsyncTaskExecutor}
6666
* or {@link java.util.concurrent.ExecutorService}) to delegate to.
6767
*/
68-
public AsyncExecutionInterceptor(Executor executor) {
69-
super(executor);
68+
public AsyncExecutionInterceptor(Executor defaultExecutor) {
69+
super(defaultExecutor);
7070
}
7171

7272

@@ -119,8 +119,8 @@ public Object call() throws Exception {
119119
* Subclasses may override to provide support for extracting qualifier information,
120120
* e.g. via an annotation on the given method.
121121
* @return always {@code null}
122-
* @see #determineAsyncExecutor(Method)
123122
* @since 3.1.2
123+
* @see #determineAsyncExecutor(Method)
124124
*/
125125
@Override
126126
protected String getExecutorQualifier(Method method) {

spring-expression/src/main/java/org/springframework/expression/spel/SpelMessage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public enum SpelMessage {
147147
"The value ''{0}'' cannot be parsed as a long"),
148148

149149
INVALID_FIRST_OPERAND_FOR_MATCHES_OPERATOR(Kind.ERROR, 1037,
150-
"First operand to matches operator must be a string. ''{0}'' is not"),
150+
"First operand to matches operator must be a string. ''{0}'' is not"),
151151

152152
INVALID_SECOND_OPERAND_FOR_MATCHES_OPERATOR(Kind.ERROR, 1038,
153153
"Second operand to matches operator must be a string. ''{0}'' is not"),
@@ -166,7 +166,7 @@ public enum SpelMessage {
166166
"Problem parsing right operand"),
167167

168168
NOT_EXPECTED_TOKEN(Kind.ERROR, 1043,
169-
"Unexpected token. Expected ''{0}'' but was ''{1}''"),
169+
"Unexpected token. Expected ''{0}'' but was ''{1}''"),
170170

171171
OOD(Kind.ERROR, 1044,
172172
"Unexpectedly ran out of input"),

0 commit comments

Comments
 (0)