From d5a8e33617a9146b5433ed54765e54a5ba8a6468 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Wed, 20 Sep 2023 16:40:36 +0200 Subject: [PATCH] Make DefaultModelBuildingListener#project field final --- .../org/apache/maven/project/DefaultModelBuildingListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultModelBuildingListener.java b/maven-core/src/main/java/org/apache/maven/project/DefaultModelBuildingListener.java index 4d007801c3..2b2f2fff29 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DefaultModelBuildingListener.java +++ b/maven-core/src/main/java/org/apache/maven/project/DefaultModelBuildingListener.java @@ -38,7 +38,7 @@ import org.apache.maven.plugin.version.PluginVersionResolutionException; */ public class DefaultModelBuildingListener extends AbstractModelBuildingListener { - private MavenProject project; + private final MavenProject project; private ProjectBuildingHelper projectBuildingHelper;