Cleaned the way boolean properties are transformed into as string

This commit is contained in:
hns 2002-10-14 16:40:18 +00:00
parent 825415f526
commit 00ae368a85

View file

@ -285,7 +285,7 @@ public final class Property implements IProperty, Serializable, Cloneable {
case STRING: case STRING:
return svalue; return svalue;
case BOOLEAN: case BOOLEAN:
return "" + bvalue; return bvalue ? "true" : "false";
case DATE: case DATE:
SimpleDateFormat format = new SimpleDateFormat ("dd.MM.yy hh:mm"); SimpleDateFormat format = new SimpleDateFormat ("dd.MM.yy hh:mm");
return format.format (new Date (lvalue)); return format.format (new Date (lvalue));