Replaces EntityListIterator.close() in finally by try-with-ressource I think I have done all these kinds of changes. This is tested. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1798571 13f79535-47bb-0310-9956-ffa450edef68