diff --git a/src/main/java/seedu/address/logic/commands/ClusterCommand.java b/src/main/java/seedu/address/logic/commands/ClusterCommand.java index fb768844a21..6e50c5b5f2a 100644 --- a/src/main/java/seedu/address/logic/commands/ClusterCommand.java +++ b/src/main/java/seedu/address/logic/commands/ClusterCommand.java @@ -3,10 +3,6 @@ import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS; import static seedu.address.logic.parser.CliSyntax.PREFIX_DIAGNOSIS; -import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL; -import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME; -import static seedu.address.logic.parser.CliSyntax.PREFIX_PHONE; -import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG; import seedu.address.commons.util.ToStringBuilder; import seedu.address.logic.commands.exceptions.CommandException; diff --git a/src/main/java/seedu/address/logic/commands/ReadCommand.java b/src/main/java/seedu/address/logic/commands/ReadCommand.java index f3c7f5da698..5b3a2cb1d4b 100644 --- a/src/main/java/seedu/address/logic/commands/ReadCommand.java +++ b/src/main/java/seedu/address/logic/commands/ReadCommand.java @@ -1,7 +1,6 @@ package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; -import static seedu.address.logic.parser.CliSyntax.PREFIX_NRIC; import static seedu.address.model.Model.PREDICATE_SHOW_ALL_PERSONS; import seedu.address.commons.util.ToStringBuilder; diff --git a/src/main/java/seedu/address/logic/parser/FindCommandParser.java b/src/main/java/seedu/address/logic/parser/FindCommandParser.java index c56d9c1fb6e..06c201772d6 100644 --- a/src/main/java/seedu/address/logic/parser/FindCommandParser.java +++ b/src/main/java/seedu/address/logic/parser/FindCommandParser.java @@ -37,7 +37,7 @@ public FindCommand parse(String args) throws ParseException { return new FindCommand(new NameContainsKeywordsPredicate(list)); } else if (trimmedArgs.startsWith(PREFIX_ADDRESS.getPrefix())) { String[] addressKeywords = trimmedArgs.substring(2).trim().split(","); - int len = addressKeywords.length; + int len = addressKeywords.length; for (int i = 0; i < len; i++) { addressKeywords[i] = addressKeywords[i].trim(); } @@ -45,7 +45,7 @@ public FindCommand parse(String args) throws ParseException { return new FindCommand(new AddressContainsKeywordsPredicate(list)); } else if (trimmedArgs.startsWith(PREFIX_CONDITION.getPrefix())) { String[] conditionKeywords = trimmedArgs.substring(4).trim().split(","); - int len = conditionKeywords.length; + int len = conditionKeywords.length; for (int i = 0; i < len; i++) { conditionKeywords[i] = conditionKeywords[i].trim(); }