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

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  FqnTest.java
  Log:
  Refactored the DefaultCacheFactory to use the static create methods.
  
  Revision  Changes    Path
  1.16      +2 -2      JBossCache/tests/functional/org/jboss/cache/FqnTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: FqnTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/FqnTest.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- FqnTest.java	11 Oct 2006 10:02:07 -0000	1.15
  +++ FqnTest.java	31 Oct 2006 06:57:29 -0000	1.16
  @@ -20,7 +20,7 @@
    * Tests {@link Fqn}.
    *
    * @author <a href="mailto:bela at jboss.org">Bela Ban</a> May 9, 2003
  - * @version $Revision: 1.15 $
  + * @version $Revision: 1.16 $
    */
   public class FqnTest extends TestCase
   {
  @@ -315,7 +315,7 @@
   //       tc.start();
         Configuration c = new Configuration();
         c.setCacheMode("LOCAL");
  -      Cache cache = new DefaultCacheFactory().createCache(c);
  +      Cache cache = DefaultCacheFactory.createCache(c);
   
         cache.put(f, "key", "value");
   
  
  
  



More information about the jboss-cvs-commits mailing list