clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r961764 - /incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/UnionMGraph.java
Date Thu, 08 Jul 2010 13:40:24 GMT
Author: mir
Date: Thu Jul  8 13:40:24 2010
New Revision: 961764

URL: http://svn.apache.org/viewvc?rev=961764&view=rev
Log:
fixed bug

Modified:
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/UnionMGraph.java

Modified: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/UnionMGraph.java
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/UnionMGraph.java?rev=961764&r1=961763&r2=961764&view=diff
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/UnionMGraph.java
(original)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/UnionMGraph.java
Thu Jul  8 13:40:24 2010
@@ -110,7 +110,9 @@ public class UnionMGraph extends Abstrac
 				if (lastReturned == null) {
 					throw new IllegalStateException();
 				}
-				currentBaseIter.remove();
+				if (currentBaseTC == 0) {
+					currentBaseIter.remove();
+				}
 				lastReturned = null;
 			}
 		};



Mime
View raw message