o Renamed method to better reflect its effect

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809064 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-28 23:40:34 +00:00
parent c1a23b8891
commit c62aa5c8a4
2 changed files with 2 additions and 2 deletions

View File

@ -1011,7 +1011,7 @@ public class DefaultLifecycleExecutor
forkedExecutions = calculateForkedGoal( mojoExecution, session, forkedProject, alreadyForkedExecutions );
}
mojoExecution.addForkedExecutions( getKey( forkedProject ), forkedExecutions );
mojoExecution.setForkedExecutions( getKey( forkedProject ), forkedExecutions );
}
alreadyForkedExecutions.remove( mojoDescriptor );

View File

@ -229,7 +229,7 @@ public class MojoExecution
return forkedExecutions;
}
public void addForkedExecutions( String projectKey, List<MojoExecution> forkedExecutions )
public void setForkedExecutions( String projectKey, List<MojoExecution> forkedExecutions )
{
this.forkedExecutions.put( projectKey, forkedExecutions );
}