fix connection.setBit()

DATAREDIS-89
This commit is contained in:
Costin Leau
2012-05-23 18:05:49 +03:00
parent a6f79e2675
commit e1a3b3100e
3 changed files with 16 additions and 4 deletions

View File

@@ -58,8 +58,8 @@ public abstract class JedisUtils {
private static final String OK_CODE = "OK";
private static final String OK_MULTI_CODE = "+OK";
private static final byte[] ONE = new byte[] { 1 };
private static final byte[] ZERO = new byte[] { 0 };
private static final byte[] ONE = new byte[] { '1' };
private static final byte[] ZERO = new byte[] { '0' };
/**
* Converts the given, native Jedis exception to Spring's DAO hierarchy.