[jboss-cvs] JBossCache/src/org/jboss/cache ...

Manik Surtani msurtani at jboss.com
Tue Sep 5 12:57:48 EDT 2006


  User: msurtani
  Date: 06/09/05 12:57:48

  Modified:    src/org/jboss/cache  TreeCache.java
  Log:
  fixed breaking UT
  
  Revision  Changes    Path
  1.237     +2 -6      JBossCache/src/org/jboss/cache/TreeCache.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCache.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCache.java,v
  retrieving revision 1.236
  retrieving revision 1.237
  diff -u -b -r1.236 -r1.237
  --- TreeCache.java	5 Sep 2006 13:26:00 -0000	1.236
  +++ TreeCache.java	5 Sep 2006 16:57:48 -0000	1.237
  @@ -94,7 +94,7 @@
    * @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
    * @author Brian Stansberry
    * @author Daniel Huang (dhuang at jboss.org)
  - * @version $Id: TreeCache.java,v 1.236 2006/09/05 13:26:00 msurtani Exp $
  + * @version $Id: TreeCache.java,v 1.237 2006/09/05 16:57:48 msurtani Exp $
    *          <p/>
    * @see <a href="http://labs.jboss.com/portal/jbosscache/docs">JBossCache doc</a>
    */
  @@ -115,7 +115,7 @@
      /**
       * A registry of regions that have been defined.
       */
  -   Map<Fqn, org.jboss.cache.Region> regionsRegistry = null;
  +   Map<Fqn, org.jboss.cache.Region> regionsRegistry = new HashMap<Fqn, org.jboss.cache.Region>();
   
      final static Object NULL = new Object();
   
  @@ -707,10 +707,6 @@
         }
   
         useCreateService = true;
  -      if (configuration.isUseRegionBasedMarshalling())
  -      {
  -         regionsRegistry = new HashMap<Fqn, org.jboss.cache.Region>();
  -      }
      }
   
      protected boolean shouldFetchStateOnStartup()
  
  
  



More information about the jboss-cvs-commits mailing list