[jboss-cvs] JBossCache/examples/PojoCache/loadtime/src/test/examples ...

Ben Wang bwang at jboss.com
Tue Oct 31 06:16:20 EST 2006


  User: bwang   
  Date: 06/10/31 06:16:20

  Modified:    examples/PojoCache/loadtime/src/test/examples 
                        StudentMaintTest.java
  Log:
  Refactored to be consistent with Cache factory method name.
  
  Revision  Changes    Path
  1.4       +2 -2      JBossCache/examples/PojoCache/loadtime/src/test/examples/StudentMaintTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: StudentMaintTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/examples/PojoCache/loadtime/src/test/examples/StudentMaintTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- StudentMaintTest.java	20 Sep 2006 10:45:45 -0000	1.3
  +++ StudentMaintTest.java	31 Oct 2006 11:16:20 -0000	1.4
  @@ -46,9 +46,9 @@
         Configuration conf = parser.parseFile("META-INF/replSync-service.xml");
         conf.setClusterName(name); // We can set a different cluster group.
         boolean toStart = true;
  -      PojoCache cache = PojoCacheFactory.createInstance(conf, toStart);
  +      PojoCache cache = PojoCacheFactory.createCache(conf, toStart);
         // Or
  -//      PojoCache cache = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
  +//      PojoCache cache = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
         return cache;
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list