Skip to content

Commit 9f3c1cf

Browse files
committed
Polishing
1 parent f732a44 commit 9f3c1cf

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import org.springframework.cache.concurrent.ConcurrentMapCache;
2525
import org.springframework.cache.config.AnnotatedJCacheableService;
2626
import org.springframework.cache.jcache.config.AbstractJCacheAnnotationTests;
27-
import org.springframework.cache.jcache.config.JCacheableService;
2827
import org.springframework.cache.support.SimpleCacheManager;
2928
import org.springframework.context.ApplicationContext;
3029
import org.springframework.context.annotation.AdviceMode;
@@ -33,16 +32,16 @@
3332
import org.springframework.context.annotation.Configuration;
3433

3534
/**
36-
*
3735
* @author Stephane Nicoll
3836
*/
39-
public class AspectJJcacheJavaConfigTests extends AbstractJCacheAnnotationTests {
37+
public class JCacheAspectJJavaConfigTests extends AbstractJCacheAnnotationTests {
4038

4139
@Override
4240
protected ApplicationContext getApplicationContext() {
4341
return new AnnotationConfigApplicationContext(EnableCachingConfig.class);
4442
}
4543

44+
4645
@Configuration
4746
@EnableCaching(mode = AdviceMode.ASPECTJ)
4847
public static class EnableCachingConfig {
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@
2121
import org.springframework.context.support.GenericXmlApplicationContext;
2222

2323
/**
24-
*
2524
* @author Stephane Nicoll
2625
*/
27-
public class AspectJJcacheNamespaceConfigTests extends AbstractJCacheAnnotationTests {
26+
public class JCacheAspectJNamespaceConfigTests extends AbstractJCacheAnnotationTests {
2827

2928
@Override
3029
protected ApplicationContext getApplicationContext() {

spring-context/src/main/java/org/springframework/cache/annotation/CachingConfigurationSelector.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@
2525
import org.springframework.util.ClassUtils;
2626

2727
/**
28-
* Select which implementation of {@link AbstractCachingConfiguration} should be used
28+
* Selects which implementation of {@link AbstractCachingConfiguration} should be used
2929
* based on the value of {@link EnableCaching#mode} on the importing {@code @Configuration}
3030
* class.
31-
* <p>Detect the presence of JSR-107 and enables JCache support accordingly.
31+
*
32+
* <p>Detects the presence of JSR-107 and enables JCache support accordingly.
3233
*
3334
* @author Chris Beams
3435
* @author Stephane Nicoll

0 commit comments

Comments
 (0)