dixitdeepak opened a new pull request, #1167: URL: https://github.com/apache/ofbiz-framework/pull/1167
Improved : Updated Groovy files to use safer resource management patterns for EntityListIterator (OFBIZ-13399) - Replaced manual iterator close handling with try-with-resources style implementations where applicable - Used Groovy withCloseable for automatic resource cleanup - Replaced EntityListIterator usage with EntityQuery.queryPagedList() where only partial/paged results were required - Removed unnecessary manual close() calls - Reduced risk of JDBC cursor and ResultSet resource leaks - Improved readability and aligned code with modern OFBiz best practices Changes were applied to Groovy files; full regression testing has not yet been completed for all updated flows. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
