The GitHub Actions job "Java CI" on commons-collections.git has failed.
Run started by GitHub user spijkercenter (triggered by garydgregory).

Head commit for run:
957fd0cc36881c26b90e98703190ab91652e9563 / Ivo 
<[email protected]>
Add IterableUtils.any() method

- Introduces a new utility method 'any()' in IterableUtils
- Returns an Optional containing the first element of an Iterable
- Handles null and empty iterables, returning an empty Optional

The method is named 'any()' to reflect its behavior of returning any
element from the Iterable (specifically, the first one). This naming
is consistent with similar concepts in other programming languages
and libraries where 'any' often denotes "give me any element that
satisfies a condition" - in this case, the condition is simply
existence within the Iterable.

This addition provides a convenient way to safely retrieve the first 
element of an Iterable, wrapped in an Optional, with null-safety built-in.

Report URL: 
https://github.com/apache/commons-collections/actions/runs/11179321168

With regards,
GitHub Actions via GitBox

Reply via email to