Skip to content

Conversation

@LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Sep 26, 2023

What changes were proposed in this pull request?

scala.language.higherKinds is deprecated and no longer needs to be imported explicitly in Scala 2.13, so this PR removes the imports for scala.language.higherKinds and the corresponding compiler suppression rules.

Why are the changes needed?

In SPARK-43849(#41356), I added compiler suppression rules to allow unused imports checks to work with both Scala 2.12 and Scala 2.13. As there is no longer a need to support Scala 2.12, we can now clean them up.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass GitHub Actions

Was this patch authored or co-authored using generative AI tooling?

No

@LuciferYang LuciferYang changed the title [SPARK-43850][BUILD] Remove the import for scala.language.higherKinds and delete the corresponding suppression rule [SPARK-43850][BUILD][GRAPHX] Remove the import for scala.language.higherKinds and delete the corresponding suppression rule Sep 26, 2023
@LuciferYang
Copy link
Contributor Author

Merged into master. Thanks @HyukjinKwon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants