partial revert of 6df9f4e154d148867ee158cbe9e9acf3fb73d680

This commit is contained in:
dg2-new
2013-11-10 23:00:57 +00:00
parent addd2e6d6a
commit 108039de08
3 changed files with 3 additions and 2 deletions

View File

@@ -283,6 +283,7 @@ public class TunnelPoolSettings {
}
private static final boolean getBoolean(String str, boolean defaultValue) {
if (str == null) return defaultValue;
boolean v = Boolean.parseBoolean(str) ||
(str != null && "YES".equals(str.toUpperCase(Locale.US)));
return v;