[jbosscache-commits] JBoss Cache SVN: r6692 - core/branches/1.4.X/src/org/jboss/cache.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Thu Sep 4 10:27:52 EDT 2008
Author: mircea.markus
Date: 2008-09-04 10:27:52 -0400 (Thu, 04 Sep 2008)
New Revision: 6692
Modified:
core/branches/1.4.X/src/org/jboss/cache/TreeCache.java
Log:
ups, this should be compilable with 1.4
Modified: core/branches/1.4.X/src/org/jboss/cache/TreeCache.java
===================================================================
--- core/branches/1.4.X/src/org/jboss/cache/TreeCache.java 2008-09-04 14:25:23 UTC (rev 6691)
+++ core/branches/1.4.X/src/org/jboss/cache/TreeCache.java 2008-09-04 14:27:52 UTC (rev 6692)
@@ -4308,9 +4308,10 @@
{
if (log.isDebugEnabled()) log.debug("Node " + f + " NOT marked for removal as expected, not removing!");
//also check whether children are marked for deletion, JBCACHE-1406
- for (Object o : n.getChildren(true).values())
+ Iterator iterator = n.getChildren(true).values().iterator();
+ while (iterator.hasNext())
{
- DataNode data = (DataNode) o;
+ DataNode data = (DataNode) iterator.next();
realRemove(data.getFqn(), skipMarkerCheck);
}
}
More information about the jbosscache-commits
mailing list