mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
add StringBuffer.append(char[])
This commit is contained in:
@ -70,6 +70,11 @@ public class StringBuffer implements CharSequence {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public synchronized StringBuffer append(char[] b) {
|
||||||
|
sb.append(b, 0, b.length);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
public synchronized StringBuffer insert(int i, String s) {
|
public synchronized StringBuffer insert(int i, String s) {
|
||||||
sb.insert(i, s);
|
sb.insert(i, s);
|
||||||
return this;
|
return this;
|
||||||
|
Reference in New Issue
Block a user