Author: jleroux
Date: Fri Jun 2 09:49:32 2017
New Revision: 1797356
URL:
http://svn.apache.org/viewvc?rev=1797356&view=revLog:
No functional change,
Improves EntityListIterator.close() warning
It was something like
ContentAssoc] has already been closed, not closing again.
It's now properly
This EntityListIterator for Entity [ContentAssoc] has already been closed,
not closing again.
Modified:
ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityListIterator.java
Modified: ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityListIterator.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityListIterator.java?rev=1797356&r1=1797355&r2=1797356&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityListIterator.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityListIterator.java Fri Jun 2 09:49:32 2017
@@ -148,7 +148,9 @@ public class EntityListIterator implemen
public void close() throws GenericEntityException {
if (closed) {
//maybe not the best way: throw new GenericResultSetClosedException("This EntityListIterator has been closed, this operation cannot be performed");
- Debug.logWarning("This EntityListIterator for Entity [" + modelEntity==null?"":modelEntity.getEntityName() + "] has already been closed, not closing again.", module);
+ Debug.logWarning("This EntityListIterator for Entity [" +
+ modelEntity == null ? "" : modelEntity.getEntityName() +
+ "] has already been closed, not closing again.", module);
} else {
if (sqlp != null) {
sqlp.close();