Formatting

pull/9771/head
Phillip Webb 7 years ago
parent 3fb1bdef85
commit c1101e7eb2

@ -57,7 +57,8 @@ class RedisCacheConfiguration {
@Bean
public RedisCacheManager cacheManager(RedisConnectionFactory redisConnectionFactory) {
RedisCacheManagerBuilder builder = RedisCacheManager.builder(redisConnectionFactory);
RedisCacheManagerBuilder builder = RedisCacheManager
.builder(redisConnectionFactory);
List<String> cacheNames = this.cacheProperties.getCacheNames();
if (!cacheNames.isEmpty()) {
builder.initialCacheNames(new LinkedHashSet<>(cacheNames));

Loading…
Cancel
Save