[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/optimistic ...
Manik Surtani
manik at jboss.org
Mon Mar 12 14:13:47 EDT 2007
User: msurtani
Date: 07/03/12 14:13:47
Modified: tests/functional/org/jboss/cache/optimistic
NodeInterceptorRemoveNodeTest.java
Log:
JBCACHE-1005
Revision Changes Path
1.19 +6 -6 JBossCache/tests/functional/org/jboss/cache/optimistic/NodeInterceptorRemoveNodeTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NodeInterceptorRemoveNodeTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/optimistic/NodeInterceptorRemoveNodeTest.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- NodeInterceptorRemoveNodeTest.java 7 Mar 2007 18:00:51 -0000 1.18
+++ NodeInterceptorRemoveNodeTest.java 12 Mar 2007 18:13:47 -0000 1.19
@@ -27,7 +27,7 @@
*/
public class NodeInterceptorRemoveNodeTest extends AbstractOptimisticTestCase
{
- private CacheImpl cache;
+ private CacheImpl<Object, Object> cache;
private TestListener listener;
private MockInterceptor dummy;
private TransactionManager mgr;
@@ -125,7 +125,7 @@
OptimisticTransactionEntry entry = (OptimisticTransactionEntry) table.get(gtx);
- TransactionWorkspace workspace = entry.getTransactionWorkSpace();
+ TransactionWorkspace<?, ?> workspace = entry.getTransactionWorkSpace();
mgr.commit();
@@ -166,7 +166,7 @@
OptimisticTransactionEntry entry = (OptimisticTransactionEntry) table.get(gtx);
- TransactionWorkspace workspace = entry.getTransactionWorkSpace();
+ TransactionWorkspace<?, ?> workspace = entry.getTransactionWorkSpace();
mgr.commit();
@@ -355,7 +355,7 @@
//now put /one back in
SamplePojo pojo2 = new SamplePojo(21, "test");
- cache.put("/one", "key1", pojo2);
+ cache.put(new Fqn("one"), "key1", pojo2);
WorkspaceNode oneAfter = workspace.getNode(Fqn.fromString("/one"));
WorkspaceNode twoAfter = workspace.getNode(Fqn.fromString("/one/two"));
@@ -404,9 +404,9 @@
OptimisticTransactionEntry entry = (OptimisticTransactionEntry) table.get(gtx);
- TransactionWorkspace workspace = entry.getTransactionWorkSpace();
+ TransactionWorkspace<?, ?> workspace = entry.getTransactionWorkSpace();
- WorkspaceNode one = workspace.getNode(Fqn.fromString("/one"));
+ WorkspaceNode<?, ?> one = workspace.getNode(Fqn.fromString("/one"));
assertEquals(1, one.getMergedChildren().get(0).size());
More information about the jboss-cvs-commits
mailing list