From 2381624825b7dc9e0c15978d47751cf01be93e78 Mon Sep 17 00:00:00 2001 From: fhanik Date: Thu, 9 Aug 2007 01:58:50 +0000 Subject: [PATCH] remove not used fields git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@564071 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/ha/jmx/ClusterJmxHelper.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/java/org/apache/catalina/ha/jmx/ClusterJmxHelper.java b/java/org/apache/catalina/ha/jmx/ClusterJmxHelper.java index 2dd340960..0e559ae2b 100644 --- a/java/org/apache/catalina/ha/jmx/ClusterJmxHelper.java +++ b/java/org/apache/catalina/ha/jmx/ClusterJmxHelper.java @@ -111,13 +111,10 @@ public class ClusterJmxHelper { private static ObjectName getDefaultClusterName(SimpleTcpCluster cluster) throws Exception { String domain = getMBeanServer().getDefaultDomain(); String type = ":type="; - boolean hostParent = false; - //Step 1. Register the Cluster MBean String clusterType= type+"Cluster"; if (cluster.getContainer() instanceof StandardHost) { domain = ((StandardHost) cluster.getContainer()).getDomain(); clusterType += ",host=" + cluster.getContainer().getName(); - hostParent = true; } else { if (cluster.getContainer() instanceof StandardEngine) { domain = ((StandardEngine) cluster.getContainer()).getDomain(); -- 2.11.0