./src/share/classes/java/lang/StringBuilder.java

Print this page
rev 5707 : [mq]: StringRepeat

*** 183,192 **** --- 183,201 ---- return this.append((StringBuilder)s); return this.append(s, 0, s.length()); } /** + * @throws IllegalArgumentException if n < 0 {@inheritDoc} + * @since 1.8 + */ + public StringBuilder append(int n, CharSequence cs) { + super.append(n, cs); + return this; + } + + /** * @throws IndexOutOfBoundsException {@inheritDoc} */ public StringBuilder append(CharSequence s, int start, int end) { super.append(s, start, end); return this;