From d484a55bc57a9bde444847f02d524527067359e2 Mon Sep 17 00:00:00 2001 From: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com> Date: Wed, 6 Oct 2021 18:35:09 +0600 Subject: [PATCH] Address JDoc errors and warnings --- .../java/com/redislabs/modules/rejson/JReJSON.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/redislabs/modules/rejson/JReJSON.java b/src/main/java/com/redislabs/modules/rejson/JReJSON.java index 691d74d..af05136 100644 --- a/src/main/java/com/redislabs/modules/rejson/JReJSON.java +++ b/src/main/java/com/redislabs/modules/rejson/JReJSON.java @@ -675,6 +675,7 @@ public Long arrLen(String key, Path path) { * popping from (defaults to -1, meaning the last element). Out of range indices are * rounded to their respective array ends. Popping an empty array yields null. * + * @param type of data represented at {@code key} * @param key the key of the value * @param clazz target class to serialize results * @param path the path of the value @@ -703,6 +704,7 @@ public T arrPop(String key, Class clazz, Path path, Long index) { * popping from (defaults to -1, meaning the last element). Out of range indices are * rounded to their respective array ends. Popping an empty array yields null. * + * @param type of data represented at {@code key} * @param key the key of the value * @param clazz target class to serialize results * @param path the path of the value @@ -719,6 +721,7 @@ public T arrPop(String key, Class clazz, Path path) { * popping from (defaults to -1, meaning the last element). Out of range indices are * rounded to their respective array ends. Popping an empty array yields null. * + * @param type of data represented at {@code key} * @param key the key of the value * @param clazz target class to serialize results * @return the popped JSON value. @@ -730,10 +733,10 @@ public T arrPop(String key, Class clazz) { /** * Trim an array so that it contains only the specified inclusive range of elements. * - * This command is extremely forgiving and using it with out of range indexes will not - * produce an error. If start is larger than the array's size or start > stop , the result - * will be an empty array. If start is < 0 then it will be treated as 0. If stop is larger - * than the end of the array, it will be treated like the last element in it. + * This command is extremely forgiving and using it with out of range indexes will not produce + * an error. If start is larger than the array's size or start > stop, the result will be an + * empty array. If start is < 0 then it will be treated as 0. If stop is larger than the end + * of the array, it will be treated like the last element in it. * * @param key the key of the value * @param path the path of the value