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) { public String getProperty(String propName) {
if (_overrideProps != null) { if (_overrideProps != null) {
if (_overrideProps.containsKey(propName)) String rv = _overrideProps.getProperty(propName);
return _overrideProps.getProperty(propName); if (rv != null)
return rv;
} }
return System.getProperty(propName); return System.getProperty(propName);
} }