mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
add a couple of StringBuffer.append overloads
This commit is contained in:
@ -54,6 +54,10 @@ public class StringBuilder implements CharSequence, Appendable {
|
||||
}
|
||||
}
|
||||
|
||||
public StringBuilder append(StringBuffer sb) {
|
||||
return append(sb.toString());
|
||||
}
|
||||
|
||||
public StringBuilder append(CharSequence sequence) {
|
||||
return append(sequence.toString());
|
||||
}
|
||||
@ -104,7 +108,6 @@ public class StringBuilder implements CharSequence, Appendable {
|
||||
return append(String.valueOf(v));
|
||||
}
|
||||
|
||||
|
||||
public char charAt(int i) {
|
||||
if (i < 0 || i >= length) {
|
||||
throw new IndexOutOfBoundsException();
|
||||
|
Reference in New Issue
Block a user