Skip to content

Commit

Permalink
Merge pull request #721 from hazendaz/master
Browse files Browse the repository at this point in the history
[cleanup] Treat 'boolean' only as 'boolean' not boolean wrapper class
  • Loading branch information
hazendaz authored Dec 25, 2023
2 parents 216bcfb + ef1d589 commit 0e6f4d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ abstract class BaseViolationCheckMojo extends AbstractMojo {

/**
* Location where generated html will be created.
*
*/
@Parameter(defaultValue = '${project.reporting.outputDirectory}', required = true)
File outputDirectory
Expand Down Expand Up @@ -277,7 +276,7 @@ abstract class BaseViolationCheckMojo extends AbstractMojo {
* @since 1.1
*/
@Parameter(defaultValue = "false", property = "spotbugs.relaxed")
Boolean relaxed
boolean relaxed

/**
* The visitor list to run. This is a comma-delimited list.
Expand Down Expand Up @@ -327,7 +326,7 @@ abstract class BaseViolationCheckMojo extends AbstractMojo {
* @since 2.3.2
*/
@Parameter(property = "spotbugs.nested", defaultValue = "false")
Boolean nested
boolean nested

/**
* Prints a trace of detectors run and classes analyzed to standard output.
Expand All @@ -336,7 +335,7 @@ abstract class BaseViolationCheckMojo extends AbstractMojo {
* @since 2.3.2
*/
@Parameter(property = "spotbugs.trace", defaultValue = "false")
Boolean trace
boolean trace

/**
* Maximum bug ranking to record.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
* @since 1.1
*/
@Parameter(defaultValue = "false", property = "spotbugs.relaxed")
Boolean relaxed
boolean relaxed

/**
* The visitor list to run. This is a comma-delimited list.
Expand Down Expand Up @@ -458,7 +458,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
* @since 2.3.2
*/
@Parameter(property = "spotbugs.nested", defaultValue = "false")
Boolean nested
boolean nested

/**
* Prints a trace of detectors run and classes analyzed to standard output.
Expand All @@ -467,7 +467,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
* @since 2.3.2
*/
@Parameter(property = "spotbugs.trace", defaultValue = "false")
Boolean trace
boolean trace

/**
* Maximum bug ranking to record.
Expand Down

0 comments on commit 0e6f4d6

Please sign in to comment.