You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Frank Bille Jensen (JIRA)" <ji...@apache.org> on 2007/12/29 15:31:50 UTC

[jira] Updated: (WICKET-1179) Javadoc for IConverter need to be more clear regarding nullable arguments

     [ https://issues.apache.org/jira/browse/WICKET-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-1179:
---------------------------------------

    Fix Version/s:     (was: 1.3.0-rc3)
                   1.3.0-final

> 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
>            Assignee: Igor Vaynberg
>             Fix For: 1.3.0-final
>
>
> 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.