mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Remove deprecated methodIdentification() method in CacheAspectSupport
The Javadoc said it's used for logging, but it's not used anywhere. Closes gh-36560 Signed-off-by: Yanming Zhou <zhouyanming@gmail.com> Signed-off-by: Sam Brannen <104798+sbrannen@users.noreply.github.com> Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com>
This commit is contained in:
co-authored by
Sam Brannen
parent
76ad7c9cc0
commit
8b62ea13a1
-17
@@ -291,23 +291,6 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
|
|||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convenience method to return a String representation of this Method
|
|
||||||
* for use in logging. Can be overridden in subclasses to provide a
|
|
||||||
* different identifier for the given method.
|
|
||||||
* @param method the method we're interested in
|
|
||||||
* @param targetClass class the method is on
|
|
||||||
* @return log message identifying this method
|
|
||||||
* @see org.springframework.util.ClassUtils#getQualifiedMethodName
|
|
||||||
* @deprecated since 6.2.18 with no replacement, for removal in 7.1
|
|
||||||
*/
|
|
||||||
@Deprecated(since = "6.2.18", forRemoval = true)
|
|
||||||
protected String methodIdentification(Method method, Class<?> targetClass) {
|
|
||||||
Method specificMethod = ClassUtils.getMostSpecificMethod(method, targetClass);
|
|
||||||
return ClassUtils.getQualifiedMethodName(specificMethod);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected Collection<? extends Cache> getCaches(
|
protected Collection<? extends Cache> getCaches(
|
||||||
CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver) {
|
CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user