mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-10-31 10:57:15 +08:00 
			
		
		
		
	style: 调整代码风格 null != xx => xx != null(更符合大众风格)
This commit is contained in:
		| @@ -72,7 +72,7 @@ public class SpringCacheAutoConfiguration implements CachingConfigurer { | ||||
|             .serializeValuesWith(RedisSerializationContext.SerializationPair | ||||
|                 .fromSerializer(new GenericJackson2JsonRedisSerializer(objectMapperCopy))); | ||||
|         CacheProperties.Redis redisCacheProperties = cacheProperties.getRedis(); | ||||
|         if (null != redisCacheProperties.getTimeToLive()) { | ||||
|         if (redisCacheProperties.getTimeToLive() != null) { | ||||
|             redisCacheConfiguration = redisCacheConfiguration.entryTtl(redisCacheProperties.getTimeToLive()); | ||||
|         } | ||||
|         if (!redisCacheProperties.isCacheNullValues()) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user