we can't pass null because it will throw an exception. Using localhost instead

This commit is contained in:
Nykolas Lima
2014-09-19 17:09:27 -03:00
parent a3f7e888da
commit f065b80ab0

View File

@@ -27,7 +27,7 @@ public class Jedis extends BinaryJedis implements JedisCommands,
* @deprecated CDI eyes only * @deprecated CDI eyes only
*/ */
public Jedis() { public Jedis() {
super((String)null); super("localhost");
} }
public Jedis(final String host) { public Jedis(final String host) {