fix connection.setBit()

DATAREDIS-89
This commit is contained in:
Costin Leau
2012-05-23 18:04:06 +03:00
parent 3f6227bbfa
commit 79d9582c4e
3 changed files with 5 additions and 5 deletions

View File

@@ -48,8 +48,8 @@ import com.google.common.base.Charsets;
*/
abstract class SrpUtils {
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' };
private static final byte[] BEFORE = "BEFORE".getBytes(Charsets.UTF_8);
private static final byte[] AFTER = "AFTER".getBytes(Charsets.UTF_8);
static final byte[] WITHSCORES = "WITHSCORES".getBytes(Charsets.UTF_8);