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

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/jmx  CacheMBeanTest.java
  Log:
  Refactored the DefaultCacheFactory to use the static create methods.
  
  Revision  Changes    Path
  1.4       +1 -1      JBossCache/tests/functional/org/jboss/cache/jmx/CacheMBeanTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheMBeanTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/jmx/CacheMBeanTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- CacheMBeanTest.java	25 Sep 2006 05:50:05 -0000	1.3
  +++ CacheMBeanTest.java	31 Oct 2006 06:57:28 -0000	1.4
  @@ -31,7 +31,7 @@
         c.setClusterName("CacheMBeanTest");
         c.setUseMbean(true);
         c.setCacheMode(Configuration.CacheMode.LOCAL);
  -      cache = new DefaultCacheFactory().createCache(c);
  +      cache = DefaultCacheFactory.createCache(c);
         mBeanNameStr = JmxUtil.PREFIX + cache.getConfiguration().getClusterName();
         mBeanName = new ObjectName(mBeanNameStr);
      }
  
  
  



More information about the jboss-cvs-commits mailing list