Merge pull request #237 from pcarrier/sb

CP: StringBuilder.append(char[])
This commit is contained in:
Mike Jensen 2014-04-20 08:04:47 -06:00
commit 1a8d557c72

View File

@ -70,6 +70,10 @@ public class StringBuilder implements CharSequence, Appendable {
return append(new String(b, offset, length));
}
public StringBuilder append(char[] b) {
return append(new String(b));
}
public StringBuilder append(Object o) {
return append(o == null ? "null" : o.toString());
}