Skip to content

Commit 187e9a8

Browse files
panbingkunsrowen
authored andcommitted
[SPARK-45364][INFRA][BUILD] Clean up the unnecessary Scala 2.12 logical in SparkBuild
### What changes were proposed in this pull request? The pr aims to clean up the unnecessary Scala 2.12 logical in SparkBuild. ### Why are the changes needed? Spark 4.0 no longer supports Scala 2.12. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #43158 from panbingkun/SPARK-45364. Authored-by: panbingkun <[email protected]> Signed-off-by: Sean Owen <[email protected]>
1 parent 2cc1ee4 commit 187e9a8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

project/SparkBuild.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,7 @@ object SparkBuild extends PomBuild {
352352
"org.apache.spark.util.collection"
353353
).mkString(":"),
354354
"-doc-title", "Spark " + version.value.replaceAll("-SNAPSHOT", "") + " ScalaDoc"
355-
) ++ {
356-
// Do not attempt to scaladoc javadoc comments under 2.12 since it can't handle inner classes
357-
if (scalaBinaryVersion.value == "2.12") Seq("-no-java-comments") else Seq.empty
358-
},
355+
),
359356

360357
// disable Mima check for all modules,
361358
// to be enabled in specific ones that have previous artifacts

0 commit comments

Comments
 (0)