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

Recover from UOE with ? operator #22

Merged
merged 3 commits into from
Nov 30, 2022
Merged

Recover from UOE with ? operator #22

merged 3 commits into from
Nov 30, 2022

Conversation

bgrochal
Copy link
Member

JavaCollectionExtensions#CollectionOps methods like: min, minBy, max, maxBy throw UnsupportedOperationException for empty collections. This MR provides an ability to recover from such exception with CommonExpressionUtils#any2qmark.

@bgrochal bgrochal requested a review from ghik November 29, 2022 12:18
@bgrochal bgrochal self-assigned this Nov 29, 2022
@ghik ghik merged commit f101d31 into master Nov 30, 2022
@ghik ghik deleted the qmark-uoe-recovery branch November 30, 2022 11:10
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