Skip to content

Commit

Permalink
Using primitives for boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernardo-MG committed May 9, 2024
1 parent 48b6ecf commit d2b5d40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public final class StartServerCommand implements Runnable {
* Debug flag. Shows debug logs.
*/
@Option(names = { "--debug" }, paramLabel = "flag", description = "Enable debug logs.", defaultValue = "false")
private Boolean debug;
private boolean debug;

/**
* Port to listen.
Expand All @@ -83,7 +83,7 @@ public final class StartServerCommand implements Runnable {
*/
@Option(names = { "--verbose" }, paramLabel = "flag", description = "Print information to console.",
defaultValue = "true", showDefaultValue = Help.Visibility.ALWAYS)
private Boolean verbose;
private boolean verbose;

/**
* Default constructor.
Expand Down

0 comments on commit d2b5d40

Please sign in to comment.