Merge pull request #513 from mayank-kakodkar/master

Corrected documentation for Jedis.get(), it returns a Java null, not (nil)
This commit is contained in:
Jonathan Leibiusky
2014-01-23 09:42:17 -08:00

View File

@@ -71,8 +71,8 @@ public class Jedis extends BinaryJedis implements JedisCommands, MultiKeyCommand
}
/**
* Get the value of the specified key. If the key does not exist the special
* value 'nil' is returned. If the value stored at key is not a string an
* Get the value of the specified key. If the key does not exist null
* is returned. If the value stored at key is not a string an
* error is returned because GET can only handle string values.
* <p>
* Time complexity: O(1)