Skip to content

Commit

Permalink
[ci] Change maven injections to 'boolean' instead of 'Boolean'
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Jun 27, 2020
1 parent 04ff9c5 commit 30f226b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/net/revelc/code/formatter/FormatterMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -227,51 +227,51 @@ public class FormatterMojo extends AbstractMojo implements ConfigurationSource {
* Whether the java formatting is skipped.
*/
@Parameter(defaultValue = "false", property = "formatter.java.skip")
private Boolean skipJavaFormatting;
private boolean skipJavaFormatting;

/**
* Whether the javascript formatting is skipped.
*/
@Parameter(defaultValue = "false", property = "formatter.js.skip")
private Boolean skipJsFormatting;
private boolean skipJsFormatting;

/**
* Whether the html formatting is skipped.
*/
@Parameter(defaultValue = "false", property = "formatter.html.skip")
private Boolean skipHtmlFormatting;
private boolean skipHtmlFormatting;

/**
* Whether the xml formatting is skipped.
*/
@Parameter(defaultValue = "false", property = "formatter.xml.skip")
private Boolean skipXmlFormatting;
private boolean skipXmlFormatting;

/**
* Whether the json formatting is skipped.
*/
@Parameter(defaultValue = "false", property = "formatter.json.skip")
private Boolean skipJsonFormatting;
private boolean skipJsonFormatting;

/**
* Whether the css formatting is skipped.
*/
@Parameter(defaultValue = "false", property = "formatter.css.skip")
private Boolean skipCssFormatting;
private boolean skipCssFormatting;

/**
* Whether the formatting is skipped.
*
* @since 0.5
*/
@Parameter(defaultValue = "false", alias = "skip", property = "formatter.skip")
private Boolean skipFormatting;
private boolean skipFormatting;

/**
* Use eclipse defaults when set to true for java and javascript.
*/
@Parameter(defaultValue = "false", property = "formatter.useEclipseDefaults")
private Boolean useEclipseDefaults;
private boolean useEclipseDefaults;

private JavaFormatter javaFormatter = new JavaFormatter();

Expand Down

0 comments on commit 30f226b

Please sign in to comment.