Don't call to System emul
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 30 Sep 2012 19:01:46 -0700
branchemul
changeset 89a807cb53e181
parent 88 8652a7d5cf84
child 92 bf4f95784c62
Don't call to System
emul/src/main/java/java/lang/Boolean.java
     1.1 --- a/emul/src/main/java/java/lang/Boolean.java	Sun Sep 30 18:58:50 2012 -0700
     1.2 +++ b/emul/src/main/java/java/lang/Boolean.java	Sun Sep 30 19:01:46 2012 -0700
     1.3 @@ -235,7 +235,7 @@
     1.4      public static boolean getBoolean(String name) {
     1.5          boolean result = false;
     1.6          try {
     1.7 -            result = toBoolean(System.getProperty(name));
     1.8 +            result = toBoolean(String.getProperty(name));
     1.9          } catch (IllegalArgumentException e) {
    1.10          } catch (NullPointerException e) {
    1.11          }