mirror of https://github.com/apache/maven.git
[MNG-6819] Fix NullPointerException in StringVisitorModelInterpolator
Closes #301
This commit is contained in:
parent
ba3234e7ae
commit
2df61010c1
|
@ -1420,7 +1420,7 @@ public class StringVisitorModelInterpolator
|
|||
{
|
||||
String value = (String) v;
|
||||
String inter = interpolate( value );
|
||||
if ( value != inter )
|
||||
if ( value != inter && inter != null )
|
||||
{
|
||||
entry.setValue( inter );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue