vongosling commented on a change in pull request #2376:
URL: https://github.com/apache/rocketmq/pull/2376#discussion_r511886131



##########
File path: common/src/main/java/org/apache/rocketmq/common/UtilAll.java
##########
@@ -461,33 +461,9 @@ private static boolean ipCheck(byte[] ip) {
         if (ip.length != 4) {

Review comment:
       Is it a necessary judgment here? Although you use the 
InetAddressValidator, I would like to recommend you solve the problem 
thoroughly. BTW, Hopefully, you could continue to optimize this class. There 
are many implementations that can be replaced by existing libs. I would like to 
follow your process.




----------------------------------------------------------------
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.

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


Reply via email to