From d8288afe04562c738e706f59982d4ec25b28cbf7 Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 1 May 2011 16:16:50 -0700 Subject: [PATCH] Removed redundant code. --- .../com/sk89q/minecraft/util/commands/CommandContext.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/java/com/sk89q/minecraft/util/commands/CommandContext.java b/src/main/java/com/sk89q/minecraft/util/commands/CommandContext.java index 43a54b1c5..3e00a5f9f 100644 --- a/src/main/java/com/sk89q/minecraft/util/commands/CommandContext.java +++ b/src/main/java/com/sk89q/minecraft/util/commands/CommandContext.java @@ -31,14 +31,6 @@ public class CommandContext { } public CommandContext(String[] args) { - ArrayList splitArgs = new ArrayList(); - for (String arg : args) { - if (!arg.equals(null) && !arg.equals("")) { - splitArgs.add(arg); - } - } - args = splitArgs.toArray(new String[0]); - int i = 1; for (; i < args.length; i++) { if (args[i].length() == 0) {