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


##########
build.gradle:
##########
@@ -740,6 +740,7 @@ subprojects {
     // For more details, refer to 
https://github.com/gradle/gradle/issues/13762.
     // As a result, we need to explicitly configure the Scala compiler with 
this setting.
     options.compilerArgs += ["--release", String.valueOf(releaseVersion)]
+    options.compilerArgs += ["-Xlint:unchecked"]

Review Comment:
   Perhaps `-Xlint:unchecked` should be added at line 127 so that all warnings 
are visible.
   ```
       if (name in ["compileTestJava", "compileTestScala"]) {
         options.compilerArgs << "-parameters"
         options.compilerArgs << "-Xlint:unchecked"
       }
   ```



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