[jboss-cvs] JBossCache/examples/PojoCache/loadtime/src/test/examples ...
Ben Wang
bwang at jboss.com
Fri Jan 5 22:24:09 EST 2007
User: bwang
Date: 07/01/05 22:24:09
Modified: examples/PojoCache/loadtime/src/test/examples
StudentMaintTest.java
Log:
Updated for new API
Revision Changes Path
1.5 +2 -1 JBossCache/examples/PojoCache/loadtime/src/test/examples/StudentMaintTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: StudentMaintTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/examples/PojoCache/loadtime/src/test/examples/StudentMaintTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- StudentMaintTest.java 31 Oct 2006 11:16:20 -0000 1.4
+++ StudentMaintTest.java 6 Jan 2007 03:24:09 -0000 1.5
@@ -5,6 +5,7 @@
import org.jboss.cache.factories.XmlConfigurationParser;
import org.jboss.cache.config.Configuration;
import org.jboss.cache.pojo.PojoCacheFactory;
+import org.jboss.cache.Fqn;
import examples.Address;
import examples.Course;
//import examples.Person;
@@ -36,7 +37,7 @@
}
protected void tearDown() throws Exception {
- cache1_.getCache().remove("/");
+ cache1_.getCache().removeNode(new Fqn("/"));
cache1_.stop();
cache2_.stop();
}
More information about the jboss-cvs-commits
mailing list