mirror of
https://github.com/corda/corda.git
synced 2025-06-14 05:08:18 +00:00
add a few classes and methods to the classpath
Add java.lang.CharSequence, java.util.AbstractSet, java.util.AbstractCollection, Collections.unmodifiableSet, System.getProperty(String,String), etc.
This commit is contained in:
@ -53,6 +53,15 @@ public abstract class System {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String getProperty(String name, String defaultValue) {
|
||||
String result = getProperty(name);
|
||||
if (result==null) {
|
||||
return defaultValue;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public static String setProperty(String name, String value) {
|
||||
for (Property p = properties; p != null; p = p.next) {
|
||||
|
Reference in New Issue
Block a user