./src/share/classes/java/lang/StringBuffer.java
Print this page
rev 5707 : 6984084 (str) n times repetition of character constructor for java.lang.String
Reviewed-by: duke
Contributed-by: Jim Gish <jim.gish@oracle.com>
*** 317,326 ****
--- 317,336 ----
{
super.append(s, start, end);
return this;
}
+ /**
+ * @throws IllegalArgumentException {@inheritDoc}
+ * @since 1.8
+ */
+ public synchronized StringBuffer append(int n, CharSequence cs) {
+ super.append(n, cs);
+ return this;
+ }
+
+
public synchronized StringBuffer append(char[] str) {
super.append(str);
return this;
}