HyukjinKwon commented on a change in pull request #30351:
URL: https://github.com/apache/spark/pull/30351#discussion_r531394220



##########
File path: pom.xml
##########
@@ -164,6 +164,7 @@
     <commons.collections.version>3.2.2</commons.collections.version>
     <scala.version>2.12.10</scala.version>
     <scala.binary.version>2.12</scala.binary.version>
+    <scalac.arg.unused-imports>-Ywarn-unused-import</scalac.arg.unused-imports>

Review comment:
       We can give a shot. Are they a lot of instances of `unused-locals` to 
fix? If there are too many, I think we should collect some more feedback from 
other committers because it makes more difficult to maintain the codes (e.g., 
reverting and backporting).




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



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to