[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/interceptors ...

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/interceptors 
                        InterceptorCacheReferenceTest.java
  Log:
  Refactored the DefaultCacheFactory to use the static create methods.
  
  Revision  Changes    Path
  1.2       +2 -2      JBossCache/tests/functional/org/jboss/cache/interceptors/InterceptorCacheReferenceTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: InterceptorCacheReferenceTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/interceptors/InterceptorCacheReferenceTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- InterceptorCacheReferenceTest.java	24 Aug 2006 16:30:10 -0000	1.1
  +++ InterceptorCacheReferenceTest.java	31 Oct 2006 06:57:29 -0000	1.2
  @@ -23,7 +23,7 @@
       {
           Configuration c = new Configuration();
           c.setNodeLockingScheme(Configuration.NodeLockingScheme.PESSIMISTIC);
  -        Cache cache = new DefaultCacheFactory().createCache(c);
  +        Cache cache = DefaultCacheFactory.createCache(c);
   
           assertInterceptorsHaveSameCache((CacheSPI) cache);
   
  @@ -34,7 +34,7 @@
       {
           Configuration c = new Configuration();
           c.setNodeLockingScheme(Configuration.NodeLockingScheme.OPTIMISTIC);
  -        Cache cache = new DefaultCacheFactory().createCache(c);
  +        Cache cache = DefaultCacheFactory.createCache(c);
   
           assertInterceptorsHaveSameCache((CacheSPI) cache);
   
  
  
  



More information about the jboss-cvs-commits mailing list