mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add LocalDateTimeUtil
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
package cn.hutool.db.nosql.redis;
|
||||
|
||||
import java.io.Closeable;
|
||||
import java.io.IOException;
|
||||
|
||||
import cn.hutool.core.io.IoUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import cn.hutool.setting.Setting;
|
||||
@@ -11,6 +8,8 @@ import redis.clients.jedis.JedisPool;
|
||||
import redis.clients.jedis.JedisPoolConfig;
|
||||
import redis.clients.jedis.Protocol;
|
||||
|
||||
import java.io.Closeable;
|
||||
|
||||
/**
|
||||
* Jedis数据源
|
||||
*
|
||||
@@ -174,7 +173,7 @@ public class RedisDS implements Closeable{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
public void close() {
|
||||
IoUtil.close(pool);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user