@ -214,7 +214,7 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@@ -214,7 +214,7 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@Override
publicvoidafterSingletonsInstantiated(){
if(getCacheResolver()==null){
// Lazily initialize cache resolver via default cache manager...
// Lazily initialize cache resolver via default cache manager
Assert.state(this.beanFactory!=null,"CacheResolver or BeanFactory must be set on cache aspect");
@ -307,22 +307,22 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@@ -307,22 +307,22 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@ -388,12 +388,11 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@@ -388,12 +388,11 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
}
}
else{
// No caching required, only call the underlying method
// No caching required, just call the underlying method
@ -641,21 +640,21 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@@ -641,21 +640,21 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
if(syncEnabled){
if(this.contexts.size()>1){
thrownewIllegalStateException(
"@Cacheable(sync=true) cannot be combined with other cache operations on '"+method+"'");
"A sync=true operation cannot be combined with other cache operations on '"+method+"'");
}
if(cacheOperationContexts.size()>1){
thrownewIllegalStateException(
"Only one @Cacheable(sync=true) entry is allowed on '"+method+"'");
"Only one sync=true operation is allowed on '"+method+"'");
"@Cacheable(sync=true) does not support unless attribute on '"+operation+"'");
"A sync=true operation does not support the unless attribute on '"+operation+"'");
}
returntrue;
}
@ -884,13 +883,13 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@@ -884,13 +883,13 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker