mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
implement a few methods to make SWT 3.4 happy
This commit is contained in:
@ -154,6 +154,10 @@ public class StringBuilder implements CharSequence {
|
||||
return insert(i, new String(new char[] { c }, 0, 1, false));
|
||||
}
|
||||
|
||||
public StringBuilder insert(int i, int v) {
|
||||
return insert(i, String.valueOf(v));
|
||||
}
|
||||
|
||||
public StringBuilder delete(int start, int end) {
|
||||
if (start >= end) {
|
||||
return this;
|
||||
|
Reference in New Issue
Block a user