File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ object SparkBuild extends PomBuild {
221221 Seq (
222222 " -Xfatal-warnings" ,
223223 " -deprecation" ,
224- " Ywarn-unused-import" ,
224+ " - Ywarn-unused-import" ,
225225 " -P:silencer:globalFilters=.*deprecated.*" // regex to catch deprecation warnings and supress them
226226 )
227227 } else {
@@ -231,8 +231,8 @@ object SparkBuild extends PomBuild {
231231 // see `scalac -Wconf:help` for details
232232 " -Wconf:cat=deprecation:wv,any:e" ,
233233 // 2.13-specific warning hits to be muted (as narrowly as possible) and addressed separately
234- " -Wconf:cat=unused-imports:e" ,
235234 " -Wconf:cat=lint-multiarg-infix:wv" ,
235+ " -Wconf:cat=unused-imports:e" ,
236236 " -Wconf:cat=other-nullary-override:wv" ,
237237 " -Wconf:cat=other-match-analysis&site=org.apache.spark.sql.catalyst.catalog.SessionCatalog.lookupFunction.catalogFunction:wv" ,
238238 " -Wconf:cat=other-pure-statement&site=org.apache.spark.streaming.util.FileBasedWriteAheadLog.readAll.readFile:wv" ,
You can’t perform that action at this time.
0 commit comments