Skip to content

Commit

Permalink
Fix checkstyle error
Browse files Browse the repository at this point in the history
  • Loading branch information
yyihaoc committed Nov 3, 2024
1 parent fedc7b1 commit 113db0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/seedu/address/logic/commands/FindCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public CommandResult execute(Model model) {
int numberOfPeopleListed = model.getFilteredPersonList().size();

if (numberOfPeopleListed == 0 || numberOfPeopleListed > 1) {
return new CommandResult(String.format(Messages.MESSAGE_PERSONS_LISTED_OVERVIEW, model.getFilteredPersonList().size()));
return new CommandResult(String.format(Messages.MESSAGE_PERSONS_LISTED_OVERVIEW,
model.getFilteredPersonList().size()));
} else {
return new CommandResult(Messages.MESSAGE_PERSON_LISTED_OVERVIEW);
}
Expand Down

0 comments on commit 113db0f

Please sign in to comment.