From 50dea7eb6efb755e4be69c5587df0e4c4a2b9d7e Mon Sep 17 00:00:00 2001 From: zhuangqian Date: Mon, 9 Jan 2017 08:44:15 +0800 Subject: [PATCH] update --- .../java/com/smallchill/core/toolbox/cache/EhcacheFactory.java | 2 +- .../java/com/smallchill/core/toolbox/redis/RedisCluster.java | 2 +- .../java/com/smallchill/core/toolbox/redis/RedisSingle.java | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/smallchill/core/toolbox/cache/EhcacheFactory.java b/src/main/java/com/smallchill/core/toolbox/cache/EhcacheFactory.java index 3c01da2b..37aac2f2 100644 --- a/src/main/java/com/smallchill/core/toolbox/cache/EhcacheFactory.java +++ b/src/main/java/com/smallchill/core/toolbox/cache/EhcacheFactory.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015-2017, Chill Zhuang 庄骞 (smallchill@163.com). + * Copyright (c) 2011-2016, James Zhan 詹波 (jfinal@126.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/smallchill/core/toolbox/redis/RedisCluster.java b/src/main/java/com/smallchill/core/toolbox/redis/RedisCluster.java index 56497206..f4e86062 100644 --- a/src/main/java/com/smallchill/core/toolbox/redis/RedisCluster.java +++ b/src/main/java/com/smallchill/core/toolbox/redis/RedisCluster.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015-2017, Chill Zhuang 庄骞 (smallchill@163.com). + * Copyright (c) 2011-2016, James Zhan 詹波 (jfinal@126.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/com/smallchill/core/toolbox/redis/RedisSingle.java b/src/main/java/com/smallchill/core/toolbox/redis/RedisSingle.java index 42ccb6e2..16daae14 100644 --- a/src/main/java/com/smallchill/core/toolbox/redis/RedisSingle.java +++ b/src/main/java/com/smallchill/core/toolbox/redis/RedisSingle.java @@ -825,6 +825,7 @@ public class RedisSingle implements IJedis{ public void close() { jedisPool.close(); + jedisPool.destroy(); } public T call(ICallBack call) {