LuciferYang commented on a change in pull request #30784:
URL: https://github.com/apache/spark/pull/30784#discussion_r544934685
##########
File path: pom.xml
##########
@@ -2508,6 +2512,9 @@
<arg>-feature</arg>
<arg>-explaintypes</arg>
<arg>-target:jvm-1.8</arg>
+ <arg>${scalac.warn-to-fatal}</arg>
+ <arg>-Ywarn-unused:imports</arg>
Review comment:
Enable unused-imports check both in Scala 2.12 and Scala 2.13
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]