From 203c9f8505870a7d7c8611d29b78d39c109457d8 Mon Sep 17 00:00:00 2001 From: Giovanni van der Schelde Date: Fri, 12 Jul 2024 17:20:56 +0200 Subject: [PATCH] [MPH-189] Mark method params as final --- .../apache/maven/plugins/help/DescribeMojoTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java b/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java index 4e042d9..135ad5b 100644 --- a/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java +++ b/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java @@ -371,11 +371,11 @@ private static void setFieldWithReflection(final Object mojo, final String field } private static void setFieldsOnMojo( - DescribeMojo mojo, - MojoDescriptorCreator mojoDescriptorCreator, - PluginVersionResolver pluginVersionResolver, - MavenPluginManager pluginManager, - MavenSession session) + final DescribeMojo mojo, + final MojoDescriptorCreator mojoDescriptorCreator, + final PluginVersionResolver pluginVersionResolver, + final MavenPluginManager pluginManager, + final MavenSession session) throws NoSuchFieldException, IllegalAccessException { setFieldWithReflection(mojo, "mojoDescriptorCreator", mojoDescriptorCreator); setFieldWithReflection(mojo, "pluginVersionResolver", pluginVersionResolver);