diff --git a/org.springframework.aspects/src/main/java/org/springframework/cache/aspectj/AbstractCacheAspect.aj b/org.springframework.aspects/src/main/java/org/springframework/cache/aspectj/AbstractCacheAspect.aj
index 923324ceb3947d7393135ace4e2f27b6ebd8ac33..2bbf992de15734472122fd2599542e3a5e0ed3fb 100644
--- a/org.springframework.aspects/src/main/java/org/springframework/cache/aspectj/AbstractCacheAspect.aj
+++ b/org.springframework.aspects/src/main/java/org/springframework/cache/aspectj/AbstractCacheAspect.aj
@@ -1,5 +1,5 @@
/*
- * Copyright 2010 the original author or authors.
+ * Copyright 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,8 +36,9 @@ import org.springframework.cache.interceptor.CacheOperationSource;
*
NB: If a method implements an interface that is itself
* cache annotated, the relevant Spring cache definition
* will not be resolved.
-
+ *
* @author Costin Leau
+ * @since 3.1
*/
public abstract aspect AbstractCacheAspect extends CacheAspectSupport {
@@ -50,7 +51,7 @@ public abstract aspect AbstractCacheAspect extends CacheAspectSupport {
* cache metadata for each joinpoint.
*/
protected AbstractCacheAspect(CacheOperationSource... cos) {
- setCacheDefinitionSources(cos);
+ setCacheOperationSources(cos);
}
@SuppressAjWarnings("adviceDidNotMatch")
@@ -59,7 +60,6 @@ public abstract aspect AbstractCacheAspect extends CacheAspectSupport {
Method method = methodSignature.getMethod();
Callable