Corrected documentation for Jedis.get(), it returns a Java null, not (nil)

This commit is contained in:
Mayank Kakodkar
2014-01-23 21:03:46 +05:30
parent 01842e4731
commit 5f5b80e6e3

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 * Get the value of the specified key. If the key does not exist null
* value 'nil' is returned. If the value stored at key is not a string an * is returned. If the value stored at key is not a string an
* error is returned because GET can only handle string values. * error is returned because GET can only handle string values.
* <p> * <p>
* Time complexity: O(1) * Time complexity: O(1)