Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

oops!

  • Loading branch information...
commit 5d192f5bf2135e6bb4c5554af8fcab0d964fe88b 1 parent 16232c6
Robey Pointer authored
View
2  core/ri/src/main/java/org/jredis/ri/alphazero/JRedisFutureSupport.java
@@ -216,7 +216,7 @@ public FutureLong linsert(String key, boolean after, byte[] oldvalue, byte[] new
byte[] keybytes = null;
if ((keybytes = getKeyBytes(key)) == null)
throw new IllegalArgumentException ("invalid key => ["+key+"]");
- byte[][] bulk = new byte[3][];
+ byte[][] bulk = new byte[4][];
bulk[0] = keybytes;
bulk[1] = (after ? "AFTER" : "BEFORE").getBytes();
bulk[2] = oldvalue;
Please sign in to comment.
Something went wrong with that request. Please try again.