Skip to content

Commit 4f4cf1a

Browse files
committed
fix
1 parent b9026f2 commit 4f4cf1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/SparkBuild.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)