Hi devs,

At https://issues.apache.org/jira/browse/WICKET-4356 the reporter asks
a reasonable question: why toXyz(default) throws a FormatException
instead of returning the default value ?
I agree with him.
Is there a reason for the current behavior - the default value is used
only if the text is null or empty but if non-empty and with the wrong
format then the methods throw exception instead of logging it (DEBUG)
and returning the default value.

If you also agree then the next question is: should we change this
behavior in 1.5.x or just in 6.0?

-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

Reply via email to