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

OAK-11575 : added util to replace Iterables.getLast in oak-commons #2162

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

rishabhdaim
Copy link
Contributor

No description provided.

Copy link

Commit-Check ✔️

* Returns the last element of the specified iterable, or null if the iterable is empty.
* <p>
* The iterable must be fully traversed to find the last element. If the iterable is empty,
* the null is returned instead.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/the/then

@rishabhdaim rishabhdaim merged commit a2595d9 into trunk Mar 11, 2025
6 checks passed
@rishabhdaim rishabhdaim deleted the OAK-11575 branch March 11, 2025 07:51
daniancu pushed a commit to daniancu/jackrabbit-oak that referenced this pull request Mar 13, 2025
…pache#2162)

* OAK-11575 : added util to replace Iterables.getLast in oak-commons

* OAK-11575 : addressed review comments to update comments

---------

Co-authored-by: Rishabh Kumar <[email protected]>
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.

3 participants