You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by GitBox <gi...@apache.org> on 2026/05/05 12:35:11 UTC

[GH] (ofbiz-framework/eli_has_next): Workflow run "Java CI with Gradle" failed!

The GitHub Actions job "Java CI with Gradle" on ofbiz-framework.git/eli_has_next has failed.
Run started by GitHub user dixitdeepak (triggered by dixitdeepak).

Head commit for run:
3701c258b8b230c8b9be669ffa4169f1d62f3caa / Deepak Dixit <de...@apache.org>
Replace EntityListIterator.hasNext() with next()-based iteration for performance

Updated iteration logic to avoid using EntityListIterator.hasNext(), which is inefficient due to JDBC ResultSet behavior.

- Replaced hasNext() checks with next() != null pattern
- Aligned with recommended usage in EntityListIterator JavaDoc
- Prevented unnecessary ResultSet cursor operations and warning logs
- Improved iteration performance and reduced overhead

Example:
while ((value = iterator.next()) != null) { ... }

Report URL: https://github.com/apache/ofbiz-framework/actions/runs/25376468353

With regards,
GitHub Actions via GitBox