summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java
diff options
context:
space:
mode:
authorbjculkin <bjculkin@mix.wvu.edu>2017-03-17 08:52:13 -0400
committerbjculkin <bjculkin@mix.wvu.edu>2017-03-17 08:52:13 -0400
commit7f59d0b9de4536705b3122cb5a85d9c9f85846a3 (patch)
tree8aeed52ab4a18385f63dae2f51c792b88da669bb /BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java
parent9d89261fedf23c11b684eb66cefdd86a9378ad20 (diff)
Add toString/equals/hashCode/compareTo part 1
Adds utility methods to classes that need them. This covers the cli & component packages.
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java b/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java
index 6703460..6d30c6a 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java
@@ -12,28 +12,28 @@ public interface ICommand {
*
* @return A command that serves as an alias to this one
*/
- public ICommand aliased();
+ ICommand aliased();
/**
* Get the handler that executes this command
*
* @return The handler that executes this command
*/
- public ICommandHandler getHandler();
+ ICommandHandler getHandler();
/**
* Get the help entry for this command
*
* @return The help entry for this command
*/
- public ICommandHelp getHelp();
+ ICommandHelp getHelp();
/**
* Check if this command is an alias of another command
*
* @return Whether or not this command is an alias of another
*/
- public default boolean isAlias() {
+ default boolean isAlias() {
return false;
}
}