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

ConcurrencyDependencyGraph#getNumberOfBuilds() does not remove finished projects from unfinished ones

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.5.2, 3.5.3
    • Fix Version/s: 3.5.4
    • Component/s: None
    • Labels:
      None

      Description

      Fix ConcurrencyDependencyGraph.getUnfinishedProjects

      private final HashSet<MavenProject> finishedProjects = new HashSet<>();
      
      /**
       * @return set of projects that have yet to be processed successfully by the build.
       */
      public Set<MavenProject> getUnfinishedProjects()
      {
       Set<MavenProject> unfinished = new HashSet<>( projectBuilds.getProjects() );
       unfinished.remove( finishedProjects );
       return unfinished;
      }

      replace remove() with removeAll()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                slachiewicz Sylwester Lachiewicz
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: