From 91282a040f45911343600c179555e8c1d9031813 Mon Sep 17 00:00:00 2001 From: Pierre Carrier Date: Sun, 20 Apr 2014 04:06:39 -0700 Subject: [PATCH] CP: StringBuilder.append(char[]) --- classpath/java/lang/StringBuilder.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classpath/java/lang/StringBuilder.java b/classpath/java/lang/StringBuilder.java index 257de79e26..a7a45b18b7 100644 --- a/classpath/java/lang/StringBuilder.java +++ b/classpath/java/lang/StringBuilder.java @@ -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()); }