Skip to content
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

LANG-1743 - when ArrayUtils.removeAll meeting 'null' array (PROPOSED CHANGE) #1312

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mosbat
Copy link
Contributor

@mosbat mosbat commented Nov 4, 2024

Issue details can be found here:
This is a proposed changed, not arbitrary.
https://issues.apache.org/jira/browse/LANG-1743

P.S.
For project owners, please note that I do not expect you to like or approve this change so feel free to reject it if you don't agree with the issue; but if you like it and would like a change, you're welcome to request a change.

…alArgumentException instead of returning null in org/apache/commons/lang3/ArrayUtils.java

Adjusted the unit tests to reflect on this change.
@mosbat mosbat changed the title LANG-1743 - when ArrayUtils.removeAll meeting 'null' array LANG-1743 - when ArrayUtils.removeAll meeting 'null' array (PROPOSED CHANGE) Nov 4, 2024
Copy link
Member

@garydgregory garydgregory left a comment

Choose a reason for hiding this comment

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

I doubt this is a good idea since it will blow up apps that previously didn't.

@mosbat
Copy link
Contributor Author

mosbat commented Nov 4, 2024

I doubt this is a good idea since it will blow up apps that previously didn't.

You got a good point. I'll try something less invasive. I'll update this PR

@mosbat mosbat marked this pull request as draft November 4, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants