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

Ben Wang bwang at jboss.com
Tue Oct 31 01:57:28 EST 2006


  User: bwang   
  Date: 06/10/31 01:57:28

  Modified:    tests/functional/org/jboss/cache/options 
                        SuppressLockingTest.java
  Log:
  Refactored the DefaultCacheFactory to use the static create methods.
  
  Revision  Changes    Path
  1.7       +1 -1      JBossCache/tests/functional/org/jboss/cache/options/SuppressLockingTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SuppressLockingTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/options/SuppressLockingTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- SuppressLockingTest.java	5 Sep 2006 11:03:26 -0000	1.6
  +++ SuppressLockingTest.java	31 Oct 2006 06:57:28 -0000	1.7
  @@ -36,7 +36,7 @@
         Configuration config = new Configuration();
         config.setCacheMode(Configuration.CacheMode.LOCAL);
         config.setTransactionManagerLookupClass(DummyTransactionManagerLookup.class.getName());
  -      cache = (TreeCacheProxyImpl) new DefaultCacheFactory().createCache(config);
  +      cache = (TreeCacheProxyImpl) DefaultCacheFactory.createCache(config);
         m = cache.getTransactionManager();
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list