Make DefaultInheritanceAssembler#merger field final and reorder fields correctly

This commit is contained in:
Guillaume Nodet 2023-09-20 16:38:56 +02:00
parent fd4493580a
commit 89d3ac90d1
1 changed files with 2 additions and 2 deletions

View File

@ -47,12 +47,12 @@ import org.apache.maven.model.merge.MavenModelMerger;
@Singleton
public class DefaultInheritanceAssembler implements InheritanceAssembler {
private InheritanceModelMerger merger = new InheritanceModelMerger();
private static final String CHILD_DIRECTORY = "child-directory";
private static final String CHILD_DIRECTORY_PROPERTY = "project.directory";
private final InheritanceModelMerger merger = new InheritanceModelMerger();
@Override
public Model assembleModelInheritance(
Model child, Model parent, ModelBuildingRequest request, ModelProblemCollector problems) {