Commit 1e6754aa authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Small optimization.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3505 b35dd754-fafc-0310-a699-88a17e54d16e
parent bd47b35a
...@@ -551,7 +551,7 @@ public class JiveGlobals { ...@@ -551,7 +551,7 @@ public class JiveGlobals {
public static boolean getBooleanProperty(String name, boolean defaultValue) { public static boolean getBooleanProperty(String name, boolean defaultValue) {
String value = getProperty(name); String value = getProperty(name);
if (value != null) { if (value != null) {
return Boolean.valueOf(getProperty(name)); return Boolean.valueOf(value);
} }
else { else {
return defaultValue; return defaultValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment