[MNG-7314] - Refactoring - Remove unused MavenExecutionResult

This commit is contained in:
Karl Heinz Marbaise 2021-10-18 20:47:55 +02:00
parent 2c37a7a38e
commit 965aaa53da
No known key found for this signature in database
GPG Key ID: BF1518E0160788A2
1 changed files with 3 additions and 3 deletions

View File

@ -250,7 +250,7 @@ public class DefaultMaven
eventCatapult.fire( ExecutionEvent.Type.ProjectDiscoveryStarted, session, null );
Result<? extends ProjectDependencyGraph> graphResult = buildGraph( session, result );
Result<? extends ProjectDependencyGraph> graphResult = buildGraph( session );
if ( graphResult.hasErrors() )
{
@ -306,7 +306,7 @@ public class DefaultMaven
// not expected that a participant will add or remove projects from the session.
//
graphResult = buildGraph( session, result );
graphResult = buildGraph( session );
if ( graphResult.hasErrors() )
{
@ -671,7 +671,7 @@ public class DefaultMaven
return index;
}
private Result<? extends ProjectDependencyGraph> buildGraph( MavenSession session, MavenExecutionResult result )
private Result<? extends ProjectDependencyGraph> buildGraph( MavenSession session )
{
Result<? extends ProjectDependencyGraph> graphResult = graphBuilder.build( session );
for ( ModelProblem problem : graphResult.getProblems() )