Skip to content

Commit

Permalink
add rule to SparkBuild.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
LuciferYang committed Nov 2, 2021
1 parent c035ca9 commit 08e49df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3470,7 +3470,7 @@
-->
<arg>-Wconf:cat=deprecation&amp;msg=procedure syntax is deprecated:e</arg>
<!-- SPARK-35496 Suppress `The outer reference in this type test cannot be checked at run time` -->
<arg>-Wconf:msg=cat=unchecked&amp;outer reference:s</arg>
<arg>-Wconf:cat=unchecked&amp;msg=outer reference:s</arg>
</args>
<compilerPlugins combine.self="override">
</compilerPlugins>
Expand Down
2 changes: 1 addition & 1 deletion project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ object SparkBuild extends PomBuild {
// SPARK-35574 Prevent the recurrence of compilation warnings related to `procedure syntax is deprecated`
"-Wconf:cat=deprecation&msg=procedure syntax is deprecated:e",
// SPARK-35496 Suppress `The outer reference in this type test cannot be checked at run time`
"-Wconf:msg=cat=unchecked&outer reference:s"
"-Wconf:cat=unchecked&msg=outer reference:s"
)
}
}
Expand Down

0 comments on commit 08e49df

Please sign in to comment.