Finalized some fields, removed redundant code, various other fixes

This commit is contained in:
Tim Visée
2015-11-23 22:14:03 +01:00
parent 83e5d726af
commit 82bf0f45ca
64 changed files with 320 additions and 323 deletions
@@ -20,7 +20,7 @@ public class CommandManager {
/**
* The list of commandDescriptions.
*/
private List<CommandDescription> commandDescriptions = new ArrayList<>();
private final List<CommandDescription> commandDescriptions = new ArrayList<>();
/**
* Constructor.
@@ -12,7 +12,7 @@ public class CommandParts {
/**
* The list of parts for this command.
*/
private List<String> parts = new ArrayList<>();
private final List<String> parts = new ArrayList<>();
/**
* Constructor.
@@ -13,15 +13,15 @@ public class FoundCommandResult {
/**
* The command reference.
*/
private CommandParts commandReference;
private final CommandParts commandReference;
/**
* The command arguments.
*/
private CommandParts commandArguments;
private final CommandParts commandArguments;
/**
* The original search query reference.
*/
private CommandParts queryReference;
private final CommandParts queryReference;
/**
* Constructor.
@@ -90,7 +90,7 @@ public class ConverterCommand extends ExecutableCommand {
vauth("vauth"),
sqltoflat("sqltoflat");
String name;
final String name;
/**
* Constructor for ConvertType.