You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org> on 2012/03/27 10:25:34 UTC

[jira] [Commented] (WICKET-3317) Investigate whether introducing Optional will make life easier

    [ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239308#comment-13239308 ] 

Martin Grigorov commented on WICKET-3317:
-----------------------------------------

In branch 'jsr-305' I committed a simple change that adds FindBugs impl of JSR-305.
At http://blogs.jetbrains.com/idea/2011/03/more-flexible-and-configurable-nullublenotnull-annotations/ you may see how to configure it in Intellij IDEA. With this setup IDEA showed me some possible null problems - the ones in Image class in commit d3e9411271a01c4617460f5ee125bcfcab76ec60.

                
> Investigate whether introducing Optional will make life easier
> --------------------------------------------------------------
>
>                 Key: WICKET-3317
>                 URL: https://issues.apache.org/jira/browse/WICKET-3317
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: Igor Vaynberg
>            Assignee: Igor Vaynberg
>         Attachments: optional-patch.txt
>
>
> Optional makes handling return values and parameters that may contain null explicit.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira