Commit e88c0e5f authored by wangwei's avatar wangwei

写法简化

parent cef7a657
......@@ -187,9 +187,6 @@ public class RedisBloomHandler<K, V> {
}
public Boolean hasBloom(RedisTemplate redisTemplate, K key) {
if (redisTemplate == null) {
redisTemplate = this.redisTemplate;
}
return redisTemplate.hasKey(key);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment