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