Skip to content

Commit

Permalink
Deprecate unused JSON.ARRAPPEND in CommandObjects (#3798)
Browse files Browse the repository at this point in the history
Update CommandObjects.java
  • Loading branch information
sazzad16 committed Apr 3, 2024
1 parent 7a5bce1 commit 2d42338
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/redis/clients/jedis/CommandObjects.java
Original file line number Diff line number Diff line change
Expand Up @@ -3623,6 +3623,7 @@ public final CommandObject<Double> jsonNumIncrBy(String key, Path path, double v
return new CommandObject<>(commandArguments(JsonCommand.NUMINCRBY).key(key).add(path).add(value), BuilderFactory.DOUBLE);
}

@Deprecated
public final CommandObject<Long> jsonArrAppend(String key, String path, JSONObject... objects) {
CommandArguments args = commandArguments(JsonCommand.ARRAPPEND).key(key).add(path);
for (Object object : objects) {
Expand Down

0 comments on commit 2d42338

Please sign in to comment.