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

Manik Surtani msurtani at jboss.com
Thu Jul 20 05:03:51 EDT 2006


  User: msurtani
  Date: 06/07/20 05:03:51

  Modified:    src/org/jboss/cache  TreeCache.java
  Log:
  Fixed some broken UTs to use the new xml parsers, cache factories, etc.
  
  Revision  Changes    Path
  1.207     +4 -4      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.206
  retrieving revision 1.207
  diff -u -b -r1.206 -r1.207
  --- TreeCache.java	20 Jul 2006 08:05:17 -0000	1.206
  +++ TreeCache.java	20 Jul 2006 09:03:51 -0000	1.207
  @@ -74,7 +74,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.206 2006/07/20 08:05:17 msurtani Exp $
  + * @version $Id: TreeCache.java,v 1.207 2006/07/20 09:03:51 msurtani Exp $
    *          <p/>
    * @see <a href="http://labs.jboss.com/portal/jbosscache/docs">JBossCache doc</a>
    */
  @@ -662,7 +662,7 @@
               MBeanConfigurator.registerInterceptors(mbserver, this, isStandalone);
         }
   
  -      switch (configuration.getCacheModeInt())
  +      switch (configuration.getCacheMode())
         {
            case LOCAL:
               log.info("cache mode is local, will not create the channel");
  @@ -671,7 +671,7 @@
            case REPL_ASYNC:
            case INVALIDATION_ASYNC:
            case INVALIDATION_SYNC:
  -            log.info("cache mode is " + configuration.getCacheModeInt());
  +            log.info("cache mode is " + configuration.getCacheMode());
               if (channel != null)
               { // already started
                  log.info("channel is already running");
  @@ -740,7 +740,7 @@
            cacheLoaderManager.startCacheLoader();
         }
   
  -      switch (configuration.getCacheModeInt())
  +      switch (configuration.getCacheMode())
         {
            case LOCAL:
               break;
  
  
  



More information about the jboss-cvs-commits mailing list