Skip to content

Commit

Permalink
Deprecate RediSearchUtil#ToByteArray
Browse files Browse the repository at this point in the history
after 5c81ec9 and cf8c9f6
  • Loading branch information
sazzad16 committed Nov 20, 2023
1 parent cf8c9f6 commit d88fcea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/redis/clients/jedis/search/RediSearchUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ public static byte[] toByteArray(float[] input) {
return bytes;
}

/**
* @deprecated Use {@link RediSearchUtil#toByteArray(float[])}.
*/
@Deprecated
public static byte[] ToByteArray(float[] input) {
return toByteArray(input);
}
Expand Down

0 comments on commit d88fcea

Please sign in to comment.