You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2011/01/10 02:21:45 UTC
[jira] Created: (WICKET-3317) Investigate wither introducing
Optional will make life easier
Investigate wither 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
Optional makes handling return values and parameters that may contain null explicit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Commented] (WICKET-3317) Investigate whether introducing
Optional will make life easier
Posted by "Martijn Dashorst (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239319#comment-13239319 ]
Martijn Dashorst commented on WICKET-3317:
------------------------------------------
Shouldn't the scope of the dependency be "provided"? now every application that uses Wicket will deploy with this in the classpath.
> 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
[jira] [Commented] (WICKET-3317) Investigate whether introducing
Optional will make life easier
Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (WICKET-3317) Investigate whether introducing
Optional will make life easier
Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239324#comment-13239324 ]
Martin Grigorov commented on WICKET-3317:
-----------------------------------------
Right.
The dependency is needed only at compile time and that's why I've been confused that 'compile' is what is needed. I changed it to 'provided'.
> 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
[jira] Updated: (WICKET-3317) Investigate wither introducing
Optional will make life easier
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg updated WICKET-3317:
----------------------------------
Attachment: optional-patch.txt
> Investigate wither 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.
-
You can reply to this email to add a comment to the issue online.
[jira] [Assigned] (WICKET-3317) Investigate whether introducing
Optional will make life easier
Posted by "Martin Grigorov (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov reassigned WICKET-3317:
---------------------------------------
Assignee: Martin Grigorov (was: Igor Vaynberg)
> 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: Martin Grigorov
> Fix For: 6.0.0
>
> 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
[jira] Updated: (WICKET-3317) Investigate wither introducing
Optional will make life easier
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg updated WICKET-3317:
----------------------------------
Fix Version/s: 1.6.0
> Investigate wither 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
> Fix For: 1.6.0
>
> Attachments: optional-patch.txt
>
>
> Optional makes handling return values and parameters that may contain null explicit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Assigned] (WICKET-3317) Investigate whether introducing
Optional will make life easier
Posted by "Martin Grigorov (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov reassigned WICKET-3317:
---------------------------------------
Assignee: Igor Vaynberg (was: Martin Grigorov)
> 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
> Fix For: 6.0.0
>
> 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
[jira] [Updated] (WICKET-3317) Investigate whether introducing
Optional will make life easier
Posted by "Igor Vaynberg (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg updated WICKET-3317:
----------------------------------
Fix Version/s: (was: 6.0.0)
looking into using nullability annotations. no need to have this done for 6.0.0 since annots wont be an api break
> 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
[jira] Updated: (WICKET-3317) Investigate whether introducing
Optional will make life easier
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg updated WICKET-3317:
----------------------------------
Summary: Investigate whether introducing Optional will make life easier (was: Investigate wither introducing Optional will make life easier)
> 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
> Fix For: 1.6.0
>
> Attachments: optional-patch.txt
>
>
> Optional makes handling return values and parameters that may contain null explicit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.