[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/factories ...
Ben Wang
bwang at jboss.com
Tue Oct 31 01:57:29 EST 2006
User: bwang
Date: 06/10/31 01:57:29
Modified: tests/functional/org/jboss/cache/factories
CustomInterceptorChainTest.java
Log:
Refactored the DefaultCacheFactory to use the static create methods.
Revision Changes Path
1.2 +1 -1 JBossCache/tests/functional/org/jboss/cache/factories/CustomInterceptorChainTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CustomInterceptorChainTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/factories/CustomInterceptorChainTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- CustomInterceptorChainTest.java 13 Sep 2006 13:11:18 -0000 1.1
+++ CustomInterceptorChainTest.java 31 Oct 2006 06:57:29 -0000 1.2
@@ -16,7 +16,7 @@
protected void setUp() throws Exception
{
Configuration c = new Configuration();
- cache = (CacheSPI) new DefaultCacheFactory().createCache(c);
+ cache = (CacheSPI) DefaultCacheFactory.createCache(c);
cache.create();
}
More information about the jboss-cvs-commits
mailing list