[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo/annotation ...
Ben Wang
bwang at jboss.com
Tue Oct 31 06:07:18 EST 2006
User: bwang
Date: 06/10/31 06:07:18
Modified: tests-50/functional/org/jboss/cache/pojo/annotation
ReplicatedAnnotationTest.java
Log:
Refactored to be consistent with Cache factory method name.
Revision Changes Path
1.4 +2 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/annotation/ReplicatedAnnotationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedAnnotationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/annotation/ReplicatedAnnotationTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ReplicatedAnnotationTest.java 8 Sep 2006 07:55:57 -0000 1.3
+++ ReplicatedAnnotationTest.java 31 Oct 2006 11:07:18 -0000 1.4
@@ -46,9 +46,9 @@
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
String configStr = "META-INF/replSync-service.xml";
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance(configStr, toStart);
+ cache_ = PojoCacheFactory.createCache(configStr, toStart);
- cache1_ = PojoCacheFactory.createInstance(configStr, toStart);
+ cache1_ = PojoCacheFactory.createCache(configStr, toStart);
cache_.start();
cache1_.start();
}
More information about the jboss-cvs-commits
mailing list