diff --git a/.classpath b/.classpath index a316b6684..06c221d7f 100644 --- a/.classpath +++ b/.classpath @@ -19,9 +19,8 @@ - + - @@ -34,6 +33,7 @@ + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 9377866ca..8c9e1f31e 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,5 +1,5 @@ # -#Sun Apr 01 10:03:27 EEST 2012 +#Wed Apr 04 09:18:47 EEST 2012 org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.compliance=1.5 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve diff --git a/src/main/java/org/springframework/data/redis/connection/srp/SrpUtils.java b/src/main/java/org/springframework/data/redis/connection/srp/SrpUtils.java index 946f3cefb..808f33812 100644 --- a/src/main/java/org/springframework/data/redis/connection/srp/SrpUtils.java +++ b/src/main/java/org/springframework/data/redis/connection/srp/SrpUtils.java @@ -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);