mirror of
https://github.com/apache/maven.git
synced 2025-02-27 21:29:17 +00:00
PR: MNG-316
Submitted by: Kenney Westerhof Reviewed by: Brett Porter fix NPE when there is no default plugin configuration git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163981 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d23c299e0f
commit
06ebdedc0c
@ -30,6 +30,11 @@ private static void mergeIntoXpp3Dom( Xpp3Dom dominant, Xpp3Dom recessive )
|
||||
{
|
||||
// TODO: how to mergeXpp3Dom lists rather than override?
|
||||
// TODO: share this as some sort of assembler, implement a walk interface?
|
||||
if ( recessive == null )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Xpp3Dom[] children = recessive.getChildren();
|
||||
for ( int i = 0; i < children.length; i++ )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user