You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/11/18 20:32:04 UTC
[jira] Closed: (MNG-4904) Make
MavenExecutionResult.getTopologicallySortedProjects() return empty list
instead of null
[ http://jira.codehaus.org/browse/MNG-4904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4904.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.1
Assignee: Benjamin Bentmann
Applied in [r1036585|http://svn.apache.org/viewvc?view=revision&revision=1036585], thanks!
> Make MavenExecutionResult.getTopologicallySortedProjects() return empty list instead of null
> --------------------------------------------------------------------------------------------
>
> Key: MNG-4904
> URL: http://jira.codehaus.org/browse/MNG-4904
> Project: Maven 2 & 3
> Issue Type: Improvement
> Affects Versions: 3.0
> Reporter: Basil James Whitehouse III
> Assignee: Benjamin Bentmann
> Fix For: 3.0.1
>
> Attachments: MNG-4904.patch
>
>
> MavenExecutionResult.getTopologicallySortedProjects() returns null when there are no projects forcing consumers to perform null checks. Consider returning an empty collection instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira