Skip to content

Commit

Permalink
[MNG-6693] New fast model interpolator not using reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jun 28, 2019
1 parent 9e19917 commit 093cd64
Show file tree
Hide file tree
Showing 2 changed files with 1,458 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.apache.maven.model.inheritance.DefaultInheritanceAssembler;
import org.apache.maven.model.inheritance.InheritanceAssembler;
import org.apache.maven.model.interpolation.ModelInterpolator;
import org.apache.maven.model.interpolation.StringSearchModelInterpolator;
import org.apache.maven.model.interpolation.StringVisitorModelInterpolator;
import org.apache.maven.model.io.DefaultModelReader;
import org.apache.maven.model.io.ModelReader;
import org.apache.maven.model.locator.DefaultModelLocator;
Expand Down Expand Up @@ -126,7 +126,7 @@ protected ModelInterpolator newModelInterpolator()
{
UrlNormalizer normalizer = newUrlNormalizer();
PathTranslator pathTranslator = newPathTranslator();
return new StringSearchModelInterpolator().setPathTranslator( pathTranslator ).setUrlNormalizer( normalizer );
return new StringVisitorModelInterpolator().setPathTranslator( pathTranslator ).setUrlNormalizer( normalizer );
}

protected ModelValidator newModelValidator()
Expand Down

0 comments on commit 093cd64

Please sign in to comment.