Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4904

Make MavenExecutionResult.getTopologicallySortedProjects() return empty list instead of null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0.1
    • None
    • None
    • Patch

    Description

      MavenExecutionResult.getTopologicallySortedProjects() returns null when there are no projects forcing consumers to perform null checks. Consider returning an empty collection instead.

      Attachments

        1. MNG-4904.patch
          3 kB
          Basil James Whitehouse III

        Activity

          People

            bentmann Benjamin Bentmann
            jwhitehouse Basil James Whitehouse III
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: