From 5f5b80e6e33f93b99874de71174a2297256d0abe Mon Sep 17 00:00:00 2001 From: Mayank Kakodkar Date: Thu, 23 Jan 2014 21:03:46 +0530 Subject: [PATCH] Corrected documentation for Jedis.get(), it returns a Java null, not (nil) --- src/main/java/redis/clients/jedis/Jedis.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/redis/clients/jedis/Jedis.java b/src/main/java/redis/clients/jedis/Jedis.java index f5f6bdd..2503d50 100644 --- a/src/main/java/redis/clients/jedis/Jedis.java +++ b/src/main/java/redis/clients/jedis/Jedis.java @@ -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. *

* Time complexity: O(1)