From 04a76b1eb278c6b7329090895de37cb30985de9e Mon Sep 17 00:00:00 2001 From: Eric Stokes Date: Fri, 3 Jun 2011 14:25:20 -0400 Subject: [PATCH] Remove junk print code, cleanup parseAllQuotedStrings a bit --- .../MultiverseCore/command/CommandManager.java | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/com/onarandombox/MultiverseCore/command/CommandManager.java b/src/com/onarandombox/MultiverseCore/command/CommandManager.java index ee6c9a3b..9685d462 100644 --- a/src/com/onarandombox/MultiverseCore/command/CommandManager.java +++ b/src/com/onarandombox/MultiverseCore/command/CommandManager.java @@ -95,19 +95,11 @@ public class CommandManager { } // If the string was ended but had an open quote... if(start != -1) { + //... then we want to close that quote and make that one arg. newArgs.add(parseQuotedString(args, start, args.length)); } - String[] results = newArgs.toArray(new String[newArgs.size()]); - String msg = "Here's what I have boss: ["; - if (results != null) { - for (String s : results) { - msg += s + ", "; - } - msg += "]"; - this.sender.sendMessage(msg); - } - return results; + return newArgs.toArray(new String[newArgs.size()]); } /**