Javadoc for IConverter need to be more clear regarding nullable arguments
-------------------------------------------------------------------------
Key: WICKET-1179
URL: https://issues.apache.org/jira/browse/WICKET-1179
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.0-rc1
Reporter: Stephane Bailliez
The javadoc of the IConverter does not mention the possibility of the arguments
being null or not.
They obviously can be but we can find a lot of different logic in the different
converters regarding if the value is null or empty string or if the locale is
null or not, this should help bring more consistency in the implementation if
the interface mentions clearly what is supposed to receive.
I could question whether each converter need to handle the fact we could have a
null Locale, surely the caller can have this default locale set so that we can
assert that Locale is never null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.