From 47b755db5ec896725038c45d8d6143c0f8821e8b Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Fri, 25 Sep 2020 19:04:55 -0400 Subject: Warning cleanup Take care of some various warnings that were occuring --- base/src/main/java/bjc/utils/cli/objects/Command.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'base/src/main/java/bjc/utils/cli/objects/Command.java') diff --git a/base/src/main/java/bjc/utils/cli/objects/Command.java b/base/src/main/java/bjc/utils/cli/objects/Command.java index ce2a985..af22643 100644 --- a/base/src/main/java/bjc/utils/cli/objects/Command.java +++ b/base/src/main/java/bjc/utils/cli/objects/Command.java @@ -263,7 +263,7 @@ public class Command { * The main thing this does is ignore blank lines, as well as comments marked by * #'s either at the start of the line or part of the way through the line. * - * @param ln + * @param lne * The string to get the command from. * * @param lno @@ -273,7 +273,9 @@ public class Command { * The name of where the I/O came from. * @return The parsed command */ - public static Command fromString(String ln, int lno, String srcName) { + public static Command fromString(String lne, int lno, String srcName) { + String ln = lne; + /* Ignore blank lines and comments. */ if (ln.equals("")) return null; -- cgit v1.2.3