Refactores primitive types in the API. Now int -> Integer and double -> Double.

This is to support Redis null values
This commit is contained in:
Jonathan Leibiusky
2010-09-15 14:41:35 -03:00
parent a9d8dfe3d7
commit ed20894c95
9 changed files with 140 additions and 135 deletions

View File

@@ -173,6 +173,6 @@ public class StringValuesCommandsTest extends JedisCommandTestBase {
@Test
public void strlen() {
jedis.set("s", "This is a string");
assertEquals("This is a string".length(), jedis.strlen("s"));
assertEquals("This is a string".length(), jedis.strlen("s").intValue());
}
}