diff --git a/src/main/java/com/gamingmesh/jobs/stuff/TabComplete.java b/src/main/java/com/gamingmesh/jobs/stuff/TabComplete.java index 9fe84381..6fe1fde4 100644 --- a/src/main/java/com/gamingmesh/jobs/stuff/TabComplete.java +++ b/src/main/java/com/gamingmesh/jobs/stuff/TabComplete.java @@ -28,7 +28,7 @@ public class TabComplete implements TabCompleter { if (args.length == 1) { String PartOfCommand = args[0]; - List temp = new ArrayList(); + List temp = new ArrayList<>(); for (Entry BCmd : Jobs.getCommandManager().GetCommands(sender).entrySet()) { temp.add(BCmd.getKey()); @@ -50,7 +50,7 @@ public class TabComplete implements TabCompleter { continue; String arg = ArgsList.get(i - 1); - List temp = new ArrayList(); + List temp = new ArrayList<>(); if (arg.contains("%%")) for (String one : arg.split("%%")) {