Browse Source

jfinal 4.6

James 6 years ago
parent
commit
4a82052b9e
1 changed files with 2 additions and 2 deletions
  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) {
 		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;
 	}