mirror of https://github.com/apache/maven.git
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 @@ public class Xpp3DomUtils
|
||||||
{
|
{
|
||||||
// TODO: how to mergeXpp3Dom lists rather than override?
|
// TODO: how to mergeXpp3Dom lists rather than override?
|
||||||
// TODO: share this as some sort of assembler, implement a walk interface?
|
// TODO: share this as some sort of assembler, implement a walk interface?
|
||||||
|
if ( recessive == null )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Xpp3Dom[] children = recessive.getChildren();
|
Xpp3Dom[] children = recessive.getChildren();
|
||||||
for ( int i = 0; i < children.length; i++ )
|
for ( int i = 0; i < children.length; i++ )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue