From cd1e7e1176e7b8bbe3c70a1a9b9c0966431c4484 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sun, 17 Dec 2023 00:04:36 -0500 Subject: [PATCH] [fix] Make debug 'boolean' primative as it is not used any other way --- .../org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy | 2 +- src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsGui.groovy | 2 +- src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy index 342eb5b9..7f8e0505 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy @@ -301,7 +301,7 @@ abstract class BaseViolationCheckMojo extends AbstractMojo { * */ @Parameter(defaultValue = "false", property = "spotbugs.debug") - Boolean debug + boolean debug /** * Relaxed reporting mode. For many detectors, this option suppresses the heuristics used to avoid reporting false diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsGui.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsGui.groovy index 3eae22a4..731b4858 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsGui.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsGui.groovy @@ -63,7 +63,7 @@ class SpotBugsGui extends AbstractMojo implements SpotBugsPluginsTrait { * */ @Parameter( defaultValue = "false", property="spotbugs.debug" ) - Boolean debug + boolean debug /** * List of artifacts this plugin depends on. Used for resolving the Spotbugs core plugin. diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy index fc331793..7efb897a 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy @@ -400,7 +400,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait { * */ @Parameter(defaultValue = "false", property = "spotbugs.debug") - Boolean debug + boolean debug /** * Relaxed reporting mode. For many detectors, this option suppresses the heuristics used to avoid reporting false