Skip to content

Commit

Permalink
Address JDoc errors and warnings (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 authored Oct 6, 2021
1 parent 3a54c4d commit db37199
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/main/java/com/redislabs/modules/rejson/JReJSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 <T> 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
Expand Down Expand Up @@ -703,6 +704,7 @@ public <T> T arrPop(String key, Class<T> 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 <T> 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
Expand All @@ -719,6 +721,7 @@ public <T> T arrPop(String key, Class<T> 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 <T> 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.
Expand All @@ -730,10 +733,10 @@ public <T> T arrPop(String key, Class<T> 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 &gt; stop, the result will be an
* empty array. If start is &lt; 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
Expand Down

0 comments on commit db37199

Please sign in to comment.