protected String getHostConfigPath(String resourceName) {
- StringBuffer result = new StringBuffer();
+ StringBuilder result = new StringBuilder();
Container container = context;
Container host = null;
Container engine = null;
if (host.getXmlBase()!=null) {
configBase = returnCanonicalPath(host.getXmlBase());
} else {
- StringBuffer xmlDir = new StringBuffer("conf");
+ StringBuilder xmlDir = new StringBuilder("conf");
Container parent = host.getParent();
if (parent instanceof Engine) {
xmlDir.append('/');
while (true) {
// Accumulate the next line
- StringBuffer buffer = new StringBuffer();
+ StringBuilder buffer = new StringBuilder();
while (true) {
int ch = reader.read();
if ((ch < 0) || (ch == '\n'))
*/
public String toString() {
- StringBuffer sb = new StringBuffer("SetNextRule[");
+ StringBuilder sb = new StringBuilder("SetNextRule[");
sb.append("methodName=");
sb.append(methodName);
sb.append(", paramType=");
}
if (target == null) {
- StringBuffer sb = new StringBuffer();
+ StringBuilder sb = new StringBuilder();
sb.append("[CallMethodRule]{");
sb.append("");
sb.append("} Call target is null (");