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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              slachiewicz Sylwester Lachiewicz

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment