git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220350 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-07-22 15:42:16 +00:00
parent 67a2c243fb
commit bb79e8614d
1 changed files with 1 additions and 5 deletions

View File

@ -163,12 +163,8 @@ public class DefaultModelInheritanceAssembler
private void assembleModelBaseInheritance( ModelBase child, ModelBase parent )
{
// Dependencies :: aggregate
List dependencies = parent.getDependencies();
List childDeps = child.getDependencies();
Map mappedChildDeps = new TreeMap();
for ( Iterator it = childDeps.iterator(); it.hasNext(); )
for ( Iterator it = child.getDependencies().iterator(); it.hasNext(); )
{
Dependency dep = (Dependency) it.next();
mappedChildDeps.put( dep.getManagementKey(), dep );