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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.5.2, 3.5.3
    • 3.5.4
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: