package org.colorcoding.ibas.bobas.util;

public class StringBuilder {

	public StringBuilder() {
		stringBuilder = new java.lang.StringBuilder();
	}

	private java.lang.StringBuilder stringBuilder = null;

	@Override
	public String toString() {
		return this.stringBuilder.toString();
	}

	public int length() {
		return this.stringBuilder.length();
	}

	public void setLength(int newLength) {
		this.stringBuilder.setLength(newLength);
	}

	public void append(String str) {
		this.stringBuilder.append(str);
	}

	public void append(int str) {
		this.stringBuilder.append(str);
	}

	public void insert(int offset, String str) {
		this.stringBuilder.insert(offset, str);
	}

	public void appendFormat(String str, Object... args) {
		this.stringBuilder.append(String.format(str, args));
	}

	public void insertFormat(int offset, String str, Object... args) {
		this.stringBuilder.insert(offset, String.format(str, args));
	}

	public void append(char c) {
		this.stringBuilder.append(c);
	}

	public int lastIndexOf(String str) {
		return this.stringBuilder.lastIndexOf(str);
	}

	public int lastIndexOf(String str, int fromIndex) {
		return this.stringBuilder.lastIndexOf(str, fromIndex);
	}
}

@@ -716,32 +716,105 @@
 ject... args) %7B%0A
+%09%09if (args.length == 0) %7B%0A%09%09%09this.stringBuilder.append(str);%0A%09%09%7D else %7B%0A%09
 %09%09this.stringBui
@@ -844,32 +844,36 @@
 at(str, args));%0A
+%09%09%7D%0A
 %09%7D%0A%0A%09public void
@@ -924,24 +924,105 @@
 ... args) %7B%0A
+%09%09if (args.length == 0) %7B%0A%09%09%09this.stringBuilder.insert(offset, str);%0A%09%09%7D else %7B%0A%09
 %09%09this.strin
@@ -1072,16 +1072,20 @@
 args));%0A
+%09%09%7D%0A
 %09%7D%0A%0A%09pub

修复过早使用格式化参数问题。