*/
public String toString() {
- StringBuffer sb = new StringBuffer("ClientAbortException: ");
+ StringBuilder sb = new StringBuilder("ClientAbortException: ");
if (message != null) {
sb.append(message);
if (throwable != null) {
}
public String toString() {
- StringBuffer buf = new StringBuffer();
+ StringBuilder buf = new StringBuilder();
buf.append(super.toString());
buf.append("[EventType:");
buf.append(eventType);
*/
public String toString() {
- StringBuffer sb = new StringBuffer("CoyotePrincipal[");
+ StringBuilder sb = new StringBuilder("CoyotePrincipal[");
sb.append(this.name);
sb.append("]");
return (sb.toString());
int pos = 0;
int end = -1;
int skip = -1;
- StringBuffer aggregator = null;
+ StringBuilder aggregator = null;
while (end < 0) {
mark(MAX_LINE_LENGTH);
while ((pos < MAX_LINE_LENGTH) && (end < 0)) {
}
if (end < 0) {
if (aggregator == null) {
- aggregator = new StringBuffer();
+ aggregator = new StringBuilder();
}
aggregator.append(lineBuffer);
pos = 0;
protected String unescape(String s) {
if (s==null) return null;
if (s.indexOf('\\') == -1) return s;
- StringBuffer buf = new StringBuffer();
+ StringBuilder buf = new StringBuilder();
for (int i=0; i<s.length(); i++) {
char c = s.charAt(i);
if (c!='\\') buf.append(c);
if (white < 0)
white = value.indexOf('\t');
if (white >= 0) {
- StringBuffer sb = new StringBuffer();
+ StringBuilder sb = new StringBuilder();
int len = value.length();
for (int i = 0; i < len; i++) {
char ch = value.charAt(i);
anchor = path.substring(pound);
path = path.substring(0, pound);
}
- StringBuffer sb = new StringBuffer(path);
+ StringBuilder sb = new StringBuilder(path);
if( sb.length() > 0 ) { // jsessionid can't be first.
sb.append(";");
sb.append(Globals.SESSION_PARAMETER_NAME);