mirror of https://github.com/apache/maven.git
tidy up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220350 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
67a2c243fb
commit
bb79e8614d
|
@ -163,12 +163,8 @@ public class DefaultModelInheritanceAssembler
|
||||||
private void assembleModelBaseInheritance( ModelBase child, ModelBase parent )
|
private void assembleModelBaseInheritance( ModelBase child, ModelBase parent )
|
||||||
{
|
{
|
||||||
// Dependencies :: aggregate
|
// Dependencies :: aggregate
|
||||||
List dependencies = parent.getDependencies();
|
|
||||||
|
|
||||||
List childDeps = child.getDependencies();
|
|
||||||
|
|
||||||
Map mappedChildDeps = new TreeMap();
|
Map mappedChildDeps = new TreeMap();
|
||||||
for ( Iterator it = childDeps.iterator(); it.hasNext(); )
|
for ( Iterator it = child.getDependencies().iterator(); it.hasNext(); )
|
||||||
{
|
{
|
||||||
Dependency dep = (Dependency) it.next();
|
Dependency dep = (Dependency) it.next();
|
||||||
mappedChildDeps.put( dep.getManagementKey(), dep );
|
mappedChildDeps.put( dep.getManagementKey(), dep );
|
||||||
|
|
Loading…
Reference in New Issue