Yang Jie created SPARK-33441:
--------------------------------

             Summary: Add "unused-import" compile arg to scalac and remove all 
unused imports in Scala code 
                 Key: SPARK-33441
                 URL: https://issues.apache.org/jira/browse/SPARK-33441
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core, SQL
    Affects Versions: 3.1.0
            Reporter: Yang Jie


* Add new scala compile arg to defense against new unused imports:
 ** "-Ywarn-unused-import" for Scala 2.12
 ** "-Wconf:cat=unused-imports:ws" or "-Wconf:cat=unused-imports:error" for 
Scala 2.13
 * Remove allĀ unused imports in Scala codeĀ 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to