[jboss-cvs] JBossAS SVN: r97640 - projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Dec 9 16:51:58 EST 2009


Author: bstansberry at jboss.com
Date: 2009-12-09 16:51:58 -0500 (Wed, 09 Dec 2009)
New Revision: 97640

Modified:
   projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc/AbstractJBossCacheService.java
Log:
Remove unused field

Modified: projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc/AbstractJBossCacheService.java
===================================================================
--- projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc/AbstractJBossCacheService.java	2009-12-09 21:48:35 UTC (rev 97639)
+++ projects/cluster/ha-server-cache-jbc/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/impl/jbc/AbstractJBossCacheService.java	2009-12-09 21:51:58 UTC (rev 97640)
@@ -48,7 +48,6 @@
 import org.jboss.cache.pojo.impl.InternalConstant;
 import org.jboss.cache.transaction.BatchModeTransactionManager;
 import org.jboss.ha.framework.interfaces.CachableMarshalledValue;
-import org.jboss.ha.framework.server.CacheManagerLocator;
 import org.jboss.ha.framework.server.MarshalledValueHelper;
 import org.jboss.ha.framework.server.SimpleCachableMarshalledValue;
 import org.jboss.logging.Logger;
@@ -112,9 +111,6 @@
    // FIXME make private when FieldBasedJBossCacheService is gone
    protected Cache<Object, Object> plainCache_;
    
-   /** Whether our cache was constructor injected */
-   protected final boolean cacheInjected_;
-   
    /** Context path for webapp + hostName; this + session id is a unique combo. */
    protected String combinedPath_;
    protected BatchingManager batchingManager;
@@ -147,7 +143,6 @@
       this.manager_    = localManager;
       establishCacheManager();
       this.cacheConfigName_ = Util.getCacheConfigName(localManager);
-      this.cacheInjected_ = false;
    }
    
    protected AbstractJBossCacheService(LocalDistributableSessionManager localManager, Cache<Object, Object> cache)
@@ -162,8 +157,7 @@
       }
       
       this.manager_    = localManager;
-      this.plainCache_ = cache;
-      this.cacheInjected_ = true;     
+      this.plainCache_ = cache;     
    }
    
    protected LocalDistributableSessionManager getManager()




More information about the jboss-cvs-commits mailing list