From ef24aa8a6df36bf2f665eb2c46298add9dde1d0f Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Fri, 15 Jan 2021 11:19:43 +0300 Subject: [PATCH] javadocs updated --- redisson/src/main/java/org/redisson/api/RMap.java | 2 +- redisson/src/main/java/org/redisson/api/RMapReactive.java | 2 +- redisson/src/main/java/org/redisson/api/RMapRx.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/redisson/src/main/java/org/redisson/api/RMap.java b/redisson/src/main/java/org/redisson/api/RMap.java index 7bf71f993..2c13af391 100644 --- a/redisson/src/main/java/org/redisson/api/RMap.java +++ b/redisson/src/main/java/org/redisson/api/RMap.java @@ -102,7 +102,7 @@ public interface RMap extends ConcurrentMap, RExpirable, RMapAsyncnull if key is doesn't exists in the hash and value hasn't been set. + * @return null if key doesn't exist in the hash and value hasn't been set. * Previous value if key already exists in the hash and new value has been stored. */ V putIfExists(K key, V value); diff --git a/redisson/src/main/java/org/redisson/api/RMapReactive.java b/redisson/src/main/java/org/redisson/api/RMapReactive.java index 7aafebb8a..a660a7fb3 100644 --- a/redisson/src/main/java/org/redisson/api/RMapReactive.java +++ b/redisson/src/main/java/org/redisson/api/RMapReactive.java @@ -342,7 +342,7 @@ public interface RMapReactive extends RExpirableReactive { * * @param key - map key * @param value - map value - * @return null if key is doesn't exists in the hash and value hasn't been set. + * @return null if key doesn't exist in the hash and value hasn't been set. * Previous value if key already exists in the hash and new value has been stored. */ Mono putIfExists(K key, V value); diff --git a/redisson/src/main/java/org/redisson/api/RMapRx.java b/redisson/src/main/java/org/redisson/api/RMapRx.java index d045c109b..c3925749c 100644 --- a/redisson/src/main/java/org/redisson/api/RMapRx.java +++ b/redisson/src/main/java/org/redisson/api/RMapRx.java @@ -345,7 +345,7 @@ public interface RMapRx extends RExpirableRx { * * @param key - map key * @param value - map value - * @return null if key is doesn't exists in the hash and value hasn't been set. + * @return null if key doesn't exist in the hash and value hasn't been set. * Previous value if key already exists in the hash and new value has been stored. */ Maybe putIfExists(K key, V value);