Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jingting1412 committed Nov 6, 2023
1 parent f0fbbe8 commit 26b5ccf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/main/java/seedu/staffsnap/logic/commands/FindCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ public FindCommand(NameContainsKeywordsPredicate predicate) {

/**
* Executes the find command.
* Find Command performs an OR search of the names of applicants.
* Any applicant whose name contains any of the keywords will be included in the resulting list.
* @param model {@code Model} which the command should operate on.
* @return CommandResult which contains the list of applicants
* whose name contains any of the keywords given.
* @return CommandResult which contains the list of applicants whose name contains any of the keywords given.
*/
@Override
public CommandResult execute(Model model) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package seedu.staffsnap.logic.parser;

import static seedu.staffsnap.logic.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.staffsnap.logic.commands.FindCommand.MESSAGE_WRONG_FORMAT;
import static seedu.staffsnap.logic.commands.FindCommand.MESSAGE_TOO_LONG;
import static seedu.staffsnap.logic.commands.FindCommand.MESSAGE_WRONG_FORMAT;

import java.util.Arrays;

Expand All @@ -18,8 +18,7 @@ public class FindCommandParser implements Parser<FindCommand> {
/**
* Parses the given {@code String} of arguments in the context of the FindCommand
* and returns a FindCommand object for execution.
* @throws ParseException if the user input is empty
* or if the user input contains characters other than alphabets.
* @throws ParseException if the user input is empty or if the user input contains characters other than alphabets.
*/
public FindCommand parse(String args) throws ParseException {
String trimmedArgs = args.trim();
Expand Down

0 comments on commit 26b5ccf

Please sign in to comment.