siddharthaDevineni commented on code in PR #21601:
URL: https://github.com/apache/kafka/pull/21601#discussion_r2874691847


##########
clients/src/main/java/org/apache/kafka/common/utils/Bytes.java:
##########


Review Comment:
   fixed, please resolve the thread if you are okay with it, thanks.



##########
clients/src/main/java/org/apache/kafka/common/utils/Bytes.java:
##########
@@ -146,7 +163,10 @@ private static String toString(final byte[] b, int off, 
int len) {
      *
      * @param input - The byte array to increment
      * @return A new copy of the incremented byte array.
+     * @deprecated This method is not part of the public API and will be 
removed in version 5.0.
+     *             Internal Kafka code should use {@link 
org.apache.kafka.common.utils.internals.BytesUtils#increment(Bytes)} instead.
      */
+    @Deprecated
     public static Bytes increment(Bytes input) throws 
IndexOutOfBoundsException {

Review Comment:
   fixed, please resolve the thread if you are okay with it, thanks.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to