xetorthio/jedis — pull request #389 by vijaykramesh (2013-02-01 00:42:37+00:00)
Title: Proper sort (with STORE) implementation for multi

Currently sort with a dstkey inside a multi() transaction raises an exception (java.lang.ClassCastException: java.lang.Long cannot be cast to java.util.List) as redis returns a Long as the response, but jedis is expecting it to return a Set of Strings. Updated this to work correctly - first commit adds a failing test showing the problem, second commit makes that test pass.