minor speedup

This commit is contained in:
zzz
2016-06-22 17:26:25 +00:00
parent ba8b2df473
commit 08fad38782

View File

@ -436,8 +436,9 @@ public class I2PAppContext {
*/
public String getProperty(String propName) {
if (_overrideProps != null) {
if (_overrideProps.containsKey(propName))
return _overrideProps.getProperty(propName);
String rv = _overrideProps.getProperty(propName);
if (rv != null)
return rv;
}
return System.getProperty(propName);
}