You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/04/23 07:21:26 UTC

[GitHub] [kafka] ijuma commented on a change in pull request #8450: KAFKA-7613: Enable -Xlint:rawtypes in clients, fixing warnings

ijuma commented on a change in pull request #8450:
URL: https://github.com/apache/kafka/pull/8450#discussion_r413572295



##########
File path: build.gradle
##########
@@ -1103,8 +1103,14 @@ project(':clients') {
   }
 
   compileJava.dependsOn 'processMessages'
+  compileJava {
+    options.compilerArgs << "-Xlint:rawtypes"
+  }
 
   compileTestJava.dependsOn 'processTestMessages'
+  compileTestJava {
+    options.compilerArgs << "-Xlint:rawtypes"
+  }

Review comment:
       Would it be better to keep this in the central place where we set the javac configs, but check the project name? It will be easier to maintain that way, I think.




----------------------------------------------------------------
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:
users@infra.apache.org