chia7712 commented on code in PR #17441:
URL: https://github.com/apache/kafka/pull/17441#discussion_r1800552621


##########
clients/src/main/java/org/apache/kafka/common/utils/Java.java:
##########
@@ -22,8 +22,6 @@ public final class Java {
 
     private Java() { }
 
-    private static final Version VERSION = 
parseVersion(System.getProperty("java.specification.version"));
-
     // Package private for testing
     static Version parseVersion(String versionString) {

Review Comment:
   in `Java` file, only `isIbmJdk` and `isIbmJdkSemeru` are used



##########
clients/src/main/java/org/apache/kafka/common/utils/Java.java:
##########
@@ -22,8 +22,6 @@ public final class Java {
 
     private Java() { }
 
-    private static final Version VERSION = 
parseVersion(System.getProperty("java.specification.version"));
-
     // Package private for testing
     static Version parseVersion(String versionString) {

Review Comment:
   Please remove unused method



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to