Browse Source

Polish @EnableAsync imports, etc

pull/7/head
Chris Beams 13 years ago
parent
commit
124662189e
  1. 2
      org.springframework.context/src/main/java/org/springframework/scheduling/annotation/EnableAsync.java
  2. 4
      org.springframework.context/src/test/java/org/springframework/context/annotation/EnableAspectJAutoProxyTests.java

2
org.springframework.context/src/main/java/org/springframework/scheduling/annotation/EnableAsync.java

@ -106,8 +106,8 @@ import org.springframework.core.Ordered;
*/ */
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Import(AsyncConfigurationSelector.class)
@Documented @Documented
@Import(AsyncConfigurationSelector.class)
public @interface EnableAsync { public @interface EnableAsync {
/** /**

4
org.springframework.context/src/test/java/org/springframework/context/annotation/EnableAspectJAutoProxyTests.java

@ -1,12 +1,10 @@
/* /*
* Copyright 2002-2008 the original author or authors. * Copyright 2002-2011 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
import org.springframework.aop.aspectj.annotation.EnableAspectJAutoProxy;
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software

Loading…
Cancel
Save