Add @Override to existing resetCaches() methods

See gh-35845
See gh-35840
This commit is contained in:
Juergen Hoeller
2025-12-04 07:09:21 +01:00
parent 07c0213f20
commit dfc900c7c4
2 changed files with 2 additions and 0 deletions
@@ -268,6 +268,7 @@ public class CaffeineCacheManager implements CacheManager {
* re-creation in 'dynamic' mode, or simply clearing their entries otherwise.
* @since 6.2.14
*/
@Override
public void resetCaches() {
this.cacheMap.values().forEach(Cache::clear);
if (this.dynamic) {
@@ -184,6 +184,7 @@ public class ConcurrentMapCacheManager implements CacheManager, BeanClassLoaderA
* re-creation in 'dynamic' mode, or simply clearing their entries otherwise.
* @since 6.2.14
*/
@Override
public void resetCaches() {
this.cacheMap.values().forEach(Cache::clear);
if (this.dynamic) {