HScarb commented on code in PR #4213:
URL: https://github.com/apache/rocketmq/pull/4213#discussion_r859314709


##########
common/src/main/java/org/apache/rocketmq/common/UtilAll.java:
##########
@@ -335,6 +336,7 @@ public static byte[] uncompress(final byte[] src) throws 
IOException {
         return result;
     }
 
+    @Deprecated

Review Comment:
   It's better to add link to new method, like this
   
   /**
     * @deprecated use {@link Compressor#compress()} instead. 
     */ 



##########
common/src/main/java/org/apache/rocketmq/common/UtilAll.java:
##########
@@ -335,6 +336,7 @@ public static byte[] uncompress(final byte[] src) throws 
IOException {
         return result;
     }
 
+    @Deprecated

Review Comment:
   It's better to add link to new method, like this
   ```java
   /**
     * @deprecated use {@link Compressor#compress()} instead. 
     */ 
   ```



-- 
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: dev-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to