Improves: Use try-with-resources statement wherever it's possible
(OFBIZ-8202) These are a non functional changes for the accounting component I forgot to commit the change in EntityListIterator.java, hence a lot of confusion, sorry guys git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761047 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -44,7 +44,7 @@ import org.apache.ofbiz.entity.model.ModelFieldTypeReader;
|
||||
/**
|
||||
* Generic Entity Cursor List Iterator for Handling Cursored DB Results
|
||||
*/
|
||||
public class EntityListIterator implements ListIterator<GenericValue> {
|
||||
public class EntityListIterator implements AutoCloseable, ListIterator<GenericValue> {
|
||||
|
||||
/** Module Name Used for debugging */
|
||||
public static final String module = EntityListIterator.class.getName();
|
||||
|
||||
Reference in New Issue
Block a user