Skip to content

[SPARK-52800][SQL][K8S] Remove several deprecated commons-lang3 methods #51495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

morvenhuang
Copy link
Contributor

What changes were proposed in this pull request?

This PR removes several deprecated commons-lang3 methods, including:

  • StringUtils.contains(CharSequence, CharSequence)
  • StringUtils.endsWith(CharSequence, CharSequence)
  • StringUtils.equals(CharSequence, CharSequence)
  • StringUtils.replace(String, String, String)

Why are the changes needed?

To clean up deprecated APIs.

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.

Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM

@LuciferYang LuciferYang changed the title [SPARK-52800]Remove several deprecated commons-lang3 methods [SPARK-52800][SQL][K8S] Remove several deprecated commons-lang3 methods Jul 20, 2025
@LuciferYang
Copy link
Contributor

Merged into master for Apache Spark 4.1.0. Thanks @morvenhuang

@morvenhuang
Copy link
Contributor Author

Thank you for your time. @LuciferYang

haoyangeng-db pushed a commit to haoyangeng-db/apache-spark that referenced this pull request Jul 22, 2025
### What changes were proposed in this pull request?
This PR removes several deprecated commons-lang3 methods, including:

- StringUtils.contains(CharSequence, CharSequence)
- StringUtils.endsWith(CharSequence, CharSequence)
- StringUtils.equals(CharSequence, CharSequence)
- StringUtils.replace(String, String, String)

### Why are the changes needed?
To clean up deprecated APIs.

### 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 apache#51495 from morvenhuang/SPARK-52800.

Authored-by: morvenhuang <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
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