diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-02-26 09:38:26 -0500 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-02-26 09:40:25 -0500 |
| commit | 0b4fd83d36eb82c92a39af8b8e1c521d822bd4c3 (patch) | |
| tree | 79bdddd59f526451411362559b213bdb8485406a /BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommand.java | |
| parent | e8567df90f38e5f2e15fbb245aa4ac45d37a3003 (diff) | |
Formatting
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommand.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommand.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommand.java b/BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommand.java index 7a38e9b..d6a72c9 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommand.java +++ b/BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommand.java @@ -9,8 +9,9 @@ package bjc.utils.cli; public class GenericCommand implements ICommand { // The behavior for invoking the command private ICommandHandler handler; + // The help for the command - private ICommandHelp help; + private ICommandHelp help; /** * Create a new generic command @@ -22,11 +23,9 @@ public class GenericCommand implements ICommand { * @param help * The detailed help message for the command. May be null */ - public GenericCommand(ICommandHandler handler, String description, - String help) { + public GenericCommand(ICommandHandler handler, String description, String help) { if (handler == null) { - throw new NullPointerException( - "Command handler must not be null"); + throw new NullPointerException("Command handler must not be null"); } this.handler = handler; |
