diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java index 81dddaa3f32..f5b56b4a8ff 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java @@ -44,7 +44,7 @@ import org.springframework.boot.test.context.assertj.AssertableApplicationContex import org.springframework.boot.testsupport.classpath.ClassPathExclusions; import org.springframework.cache.Cache; import org.springframework.cache.CacheManager; -import org.springframework.cache.annotation.CachingConfigurerSupport; +import org.springframework.cache.annotation.CachingConfigurer; import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.caffeine.CaffeineCache; import org.springframework.cache.caffeine.CaffeineCacheManager; @@ -707,7 +707,7 @@ class CacheAutoConfigurationTests extends AbstractCacheAutoConfigurationTests { @Configuration(proxyBeanMethods = false) @EnableCaching - static class CustomCacheManagerFromSupportConfiguration extends CachingConfigurerSupport { + static class CustomCacheManagerFromSupportConfiguration implements CachingConfigurer { @Override @Bean @@ -720,7 +720,7 @@ class CacheAutoConfigurationTests extends AbstractCacheAutoConfigurationTests { @Configuration(proxyBeanMethods = false) @EnableCaching - static class CustomCacheResolverFromSupportConfiguration extends CachingConfigurerSupport { + static class CustomCacheResolverFromSupportConfiguration implements CachingConfigurer { @Override @Bean