From ba9cf27de7e9f31dfa97a7266979f300101d67f9 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Thu, 10 Nov 2016 19:44:22 -0500 Subject: Doc updates --- BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommandMode.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommandMode.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommandMode.java b/BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommandMode.java index 4aab8a4..b6c6ea4 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommandMode.java +++ b/BJC-Utils2/src/main/java/bjc/utils/cli/GenericCommandMode.java @@ -7,8 +7,6 @@ import java.util.function.Consumer; import bjc.utils.funcdata.FunctionalMap; import bjc.utils.funcdata.IMap; -import org.eclipse.jdt.annotation.Nullable; - /** * A general command mode, with a customizable set of commands * @@ -381,7 +379,7 @@ public class GenericCommandMode implements ICommandMode { * The custom prompt for this mode, or null to disable the * custom prompt */ - public void setCustomPrompt(@Nullable String prompt) { + public void setCustomPrompt( String prompt) { customPrompt = prompt; } @@ -392,7 +390,7 @@ public class GenericCommandMode implements ICommandMode { * The desired name of this mode, or null to use the default * name */ - public void setModeName(@Nullable String name) { + public void setModeName( String name) { modeName = name; } @@ -404,7 +402,7 @@ public class GenericCommandMode implements ICommandMode { * on unknown commands */ public void setUnknownCommandHandler( - @Nullable BiConsumer handler) { + BiConsumer handler) { if (handler == null) { throw new NullPointerException("Handler must not be null"); } @@ -429,4 +427,4 @@ public class GenericCommandMode implements ICommandMode { defaultHandlers.put("exit", buildExitCommand()); } -} \ No newline at end of file +} -- cgit v1.2.3