+1

-igor

On Mon, Jan 30, 2012 at 4:42 AM, Sven Meier <[email protected]> wrote:
> I don't know the reason for this. Let's change it for 1.5.x too.
>
> Sven
>
> Am 30.01.2012 13:35, schrieb Martin Grigorov:
>
>> 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?
>>
>

Reply via email to