git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@832014
13f79535-47bb-0310-9956-
ffa450edef68
}
// Build the connection string with fixed ports
- StringBuffer url = new StringBuffer();
+ StringBuilder url = new StringBuilder();
url.append("service:jmx:rmi://localhost:");
url.append(theRmiServerPort);
url.append("/jndi/rmi://localhost:");
IntrospectionUtils.getProperty(connector, "address");
Integer port = (Integer)
IntrospectionUtils.getProperty(connector, "port");
- StringBuffer sb = new StringBuffer(domain);
+ StringBuilder sb = new StringBuilder(domain);
sb.append(":type=Connector");
sb.append(",port=" + port);
if ((address != null) && (address.length()>0)) {