From 7f59d0b9de4536705b3122cb5a85d9c9f85846a3 Mon Sep 17 00:00:00 2001 From: bjculkin Date: Fri, 17 Mar 2017 08:52:13 -0400 Subject: Add toString/equals/hashCode/compareTo part 1 Adds utility methods to classes that need them. This covers the cli & component packages. --- BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java') 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; } } -- cgit v1.2.3