File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
ServerCore/java/org/elkoserver/foundation/boot Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11Distrib
2+ logs
Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ public BootProperties(Properties defaults) {
3232 }
3333
3434 /**
35- * Get the value of a property as a boolean.
35+ * Get the value of a property as a boolean. This will be true if the
36+ * property value is the string "true", false if the property value is
37+ * the string "false", and will be the default if the property value is
38+ * anything else or if the property is absent.
3639 *
3740 * @param property The name of the property to test.
3841 * @param defaultValue The default value in the event of absence or error.
3942 *
4043 * @return the value of the property interpreted as a boolean.
41- *
42- * @throws IllegalArgumentException if the property has a value that is
43- * neither of the strings "true" nor "false".
4444 */
4545 public boolean boolProperty (String property , boolean defaultValue ) {
4646 String val = getProperty (property );
You can’t perform that action at this time.
0 commit comments