mirror of
https://github.com/corda/corda.git
synced 2025-06-15 21:58:17 +00:00
sketch out ResourceBundle
This commit is contained in:
@ -70,7 +70,7 @@ public final class Character {
|
||||
}
|
||||
|
||||
public static boolean isWhitespace(char c) {
|
||||
return c == ' ' || c == '\t' || c == '\n';
|
||||
return c == ' ' || c == '\t' || c == '\n' || c == '\r';
|
||||
}
|
||||
|
||||
public static boolean isSpaceChar(char c) {
|
||||
|
@ -31,6 +31,14 @@ public class Throwable {
|
||||
return cause;
|
||||
}
|
||||
|
||||
public void initCause(Throwable e) {
|
||||
if (cause == null) {
|
||||
cause = e;
|
||||
} else {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
Reference in New Issue
Block a user