Polishing

This commit is contained in:
Juergen Hoeller
2014-05-15 15:23:11 +02:00
parent 297e4eec36
commit 7bc38acbf6
3 changed files with 5 additions and 6 deletions

View File

@@ -21,7 +21,6 @@ import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Executor;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;
import org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils;

View File

@@ -63,7 +63,7 @@ public class AsyncExecutionInterceptor extends AsyncExecutionAspectSupport
/**
* Create a new {@code AsyncExecutionInterceptor}.
* @param defaultExecutor the {@link Executor} (typically a Spring {@link AsyncTaskExecutor}
* or {@link java.util.concurrent.ExecutorService}) to delegate to.
* or {@link java.util.concurrent.ExecutorService}) to delegate to
*/
public AsyncExecutionInterceptor(Executor defaultExecutor) {
super(defaultExecutor);

View File

@@ -43,7 +43,7 @@ public class MemorySafeUndeclaredThrowableStrategy extends DefaultGeneratorStrat
};
private Class<?> wrapper;
private final Class<?> wrapper;
public MemorySafeUndeclaredThrowableStrategy(Class<?> wrapper) {
@@ -52,9 +52,9 @@ public class MemorySafeUndeclaredThrowableStrategy extends DefaultGeneratorStrat
protected ClassGenerator transform(ClassGenerator cg) throws Exception {
ClassTransformer tr = new UndeclaredThrowableTransformer(wrapper);
tr = new MethodFilterTransformer(TRANSFORM_FILTER, tr);
return new TransformingClassGenerator(cg, tr);
ClassTransformer ct = new UndeclaredThrowableTransformer(this.wrapper);
ct = new MethodFilterTransformer(TRANSFORM_FILTER, ct);
return new TransformingClassGenerator(cg, ct);
}
}