diff --git a/src/helma/objectmodel/db/Property.java b/src/helma/objectmodel/db/Property.java index 71a4738f..e5bf1e7b 100644 --- a/src/helma/objectmodel/db/Property.java +++ b/src/helma/objectmodel/db/Property.java @@ -459,11 +459,7 @@ public final class Property implements IProperty, Serializable, Cloneable, Compa return ((Boolean) value).booleanValue(); } - if (type == INTEGER || type == FLOAT) { - return !(0 == getIntegerValue()); - } - - return false; + return 0 != getIntegerValue(); } /**