From 3e6d075b6cf70d8fc7a3c4a7f36b25748800449b Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sun, 20 Oct 2024 15:35:15 -0400 Subject: [PATCH] [cleanup] Remove xmlEncoding as not used --- .../org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy | 4 ---- .../groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy index 7c27277b..2928ed6f 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy @@ -120,10 +120,6 @@ abstract class BaseViolationCheckMojo extends AbstractMojo { @Parameter (defaultValue = '${session}', required = true, readonly = true) MavenSession session - /** Encoding used for xml files. Default value is UTF-8. */ - @Parameter(defaultValue = "UTF-8", readonly = true) - String xmlEncoding - /** * The file encoding to use when reading the source files. If the property project.build.sourceEncoding * is not set, the platform default encoding is used. diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy index cd04f19b..143ec009 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy @@ -189,10 +189,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait { @Parameter (defaultValue = '${session}', required = true, readonly = true) MavenSession session - /** Encoding used for xml files. Default value is UTF-8. */ - @Parameter(defaultValue = "UTF-8", readonly = true) - String xmlEncoding - /** * The file encoding to use when reading the source files. If the property project.build.sourceEncoding * is not set, the platform default encoding is used.