[Jboss-cvs] JBossAS SVN: r56540 - branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Sep 3 23:19:42 EDT 2006
Author: bstansberry at jboss.com
Date: 2006-09-03 23:19:41 -0400 (Sun, 03 Sep 2006)
New Revision: 56540
Modified:
branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session/JBossCacheManager.java
Log:
Minor cleanups
Modified: branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session/JBossCacheManager.java
===================================================================
--- branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session/JBossCacheManager.java 2006-09-04 03:05:35 UTC (rev 56539)
+++ branches/Branch_4_0/tomcat/src/main/org/jboss/web/tomcat/tc5/session/JBossCacheManager.java 2006-09-04 03:19:41 UTC (rev 56540)
@@ -465,8 +465,7 @@
throw new IllegalStateException("Manager not started");
}
- if (log_.isDebugEnabled())
- log_.debug("Stopping");
+ log_.debug("Stopping");
resetStats();
@@ -723,10 +722,7 @@
private ClusteredSession createEmptyClusteredSession()
{
- if (log_.isDebugEnabled())
- {
- log_.debug("Creating an empty ClusteredSession");
- }
+ log_.debug("Creating an empty ClusteredSession");
ClusteredSession session = null;
switch (replicationGranularity_)
@@ -1409,10 +1405,7 @@
// Add SnapshotValve and, if needed, JvmRouteValve and batch repl valve
installValves();
- if (log_.isDebugEnabled())
- {
- log_.debug("start(): JBossCacheService started");
- }
+ log_.debug("start(): JBossCacheService started");
}
catch (Exception e)
{
@@ -1722,8 +1715,7 @@
// when it's made. So we catch the exception and fall back
// to adding the valve directly.
// TODO consider skipping adding via JMX and just do it directly
- if (log_.isDebugEnabled())
- log_.debug("Caught exception installing valve to Context", e);
+ log_.debug("Caught exception installing valve to Context", e);
}
}
@@ -1748,7 +1740,7 @@
*
* @throws IllegalStateException if not
*/
- private void validateFieldMarshalling() throws ClusteringNotSupportedException
+ private void validateFieldMarshalling()
{
if (replicationGranularity_ == WebMetaData.REPLICATION_GRANULARITY_FIELD
&& !proxy_.isMarshallingAvailable())
More information about the jboss-cvs-commits
mailing list