kevin-wu24 commented on code in PR #19589:
URL: https://github.com/apache/kafka/pull/19589#discussion_r2078004402


##########
raft/src/main/java/org/apache/kafka/raft/KafkaNetworkChannel.java:
##########
@@ -178,6 +182,7 @@ public void pollOnce() {
         requestThread.doWork();
     }
 
+    @SuppressWarnings("NPathComplexity")

Review Comment:
   This is what I get when running `./gradlew jar`:
   ```
   error: patterns in switch statements are a preview feature and are disabled 
by default.
   ...
   (use --enable-preview to enable patterns in switch statements)
   ```



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