[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
msurtani at belmont.prod.atl2.jboss.com
Wed Aug 30 16:28:50 EDT 2006
User: msurtani
Date: 06/08/30 16:28:50
Modified: src/org/jboss/cache TreeCacheProxyImpl.java
Log:
fixed up some unit tests
Revision Changes Path
1.21 +6 -1 JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TreeCacheProxyImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- TreeCacheProxyImpl.java 30 Aug 2006 17:08:19 -0000 1.20
+++ TreeCacheProxyImpl.java 30 Aug 2006 20:28:50 -0000 1.21
@@ -421,7 +421,12 @@
public void clearData()
{
- treeCache.removeData(currentNode.getFqn());
+ if (treeCache.getInvocationContext().getOptionOverrides().isBypassInterceptorChain())
+ {
+ currentNode.clear();
+ treeCache.getInvocationContext().getOptionOverrides().setBypassInterceptorChain(false);
+ }
+ else treeCache.removeData(currentNode.getFqn());
}
public void move(Node newParent)
More information about the jboss-cvs-commits
mailing list