mirror of https://github.com/apache/maven.git
o Fixed regression introduced by r900021
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@900965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2c107b31c7
commit
9168e66222
|
@ -156,7 +156,7 @@ public class StringSearchModelInterpolator
|
|||
if ( String.class == type )
|
||||
{
|
||||
String value = (String) fields[i].get( target );
|
||||
if ( value != null )
|
||||
if ( value != null && !Modifier.isFinal( fields[i].getModifiers() ) )
|
||||
{
|
||||
String interpolated =
|
||||
modelInterpolator.interpolateInternal( value, valueSources, postProcessors,
|
||||
|
@ -330,11 +330,6 @@ public class StringSearchModelInterpolator
|
|||
return false;
|
||||
}
|
||||
|
||||
if ( Modifier.isFinal( field.getModifiers() ) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue