Changeset 489f4352


Ignore:
Timestamp:
Sep 7, 2012 8:13:49 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
aef021d
Parents:
78203aac
Message:

booleanValue() → parseBoolean()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/I2PAppContext.java

    r78203aac r489f4352  
    488488        if (val == null)
    489489            return defaultVal;
    490         return Boolean.valueOf(val).booleanValue();
     490        return Boolean.parseBoolean(val);
    491491    }
    492492
     
    496496     */
    497497    public boolean getBooleanProperty(String propName) {
    498         return Boolean.valueOf(getProperty(propName)).booleanValue();
     498        return Boolean.parseBoolean(getProperty(propName));
    499499    }
    500500
Note: See TracChangeset for help on using the changeset viewer.