update 优化 去除无用继承

2.X
疯狂的狮子Li 2 years ago
parent 4f5523a878
commit 484fdba353

@ -12,7 +12,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfiguration; import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.CacheManager; import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.CachingConfigurerSupport;
import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
@ -25,7 +24,7 @@ import org.springframework.context.annotation.Bean;
@AutoConfiguration @AutoConfiguration
@EnableCaching @EnableCaching
@EnableConfigurationProperties(RedissonProperties.class) @EnableConfigurationProperties(RedissonProperties.class)
public class RedisConfiguration extends CachingConfigurerSupport { public class RedisConfiguration {
@Autowired @Autowired
private RedissonProperties redissonProperties; private RedissonProperties redissonProperties;

Loading…
Cancel
Save