changing default constructor to use default host and port (localhost)

This commit is contained in:
Nykolas Lima
2014-09-27 13:37:42 -03:00
parent f065b80ab0
commit 833065b670
7 changed files with 47 additions and 37 deletions

View File

@@ -22,12 +22,8 @@ public class Jedis extends BinaryJedis implements JedisCommands,
protected Pool<Jedis> dataSource = null;
/**
* CDI eyes only
* @deprecated CDI eyes only
*/
public Jedis() {
super("localhost");
super(Protocol.DEFAULT_HOST, Protocol.DEFAULT_PORT);
}
public Jedis(final String host) {