James 6 年 前
コミット
4a82052b9e
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/main/java/com/jfinal/plugin/redis/RedisPlugin.java

+ 2 - 2
src/main/java/com/jfinal/plugin/redis/RedisPlugin.java

@@ -66,8 +66,8 @@ public class RedisPlugin implements IPlugin {
 	
 	
 	public RedisPlugin(String cacheName, String host, int port, int timeout, String password) {
 	public RedisPlugin(String cacheName, String host, int port, int timeout, String password) {
 		this(cacheName, host, port, timeout);
 		this(cacheName, host, port, timeout);
-		if (StrKit.isBlank(password))
-			throw new IllegalArgumentException("password can not be blank.");
+		// if (StrKit.isBlank(password))
+			// throw new IllegalArgumentException("password can not be blank.");
 		this.password = password;
 		this.password = password;
 	}
 	}