Skip to content

Commit

Permalink
Fix checkstyle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jingting1412 committed Sep 29, 2023
1 parent bad4e7e commit 0ad6322
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/main/java/seedu/address/logic/commands/FindCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public CommandResult execute(Model model) {
String.format(Messages.MESSAGE_PERSONS_LISTED_OVERVIEW, model.getFilteredPersonList().size()));
}

/**
* Checks if the person exists.
* @param other Other person.
* @return true if equals, false if not equals.
*/
public boolean equals(Object other) {
if (other == this) {
return true;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package seedu.address.logic.commands.exceptions;

/**
* Represents an error which occurs during execution of a {@link Command}.
* Represents an error which occurs during execution of a Command.
*/
public class CommandException extends Exception {
public CommandException(String message) {
Expand Down

0 comments on commit 0ad6322

Please sign in to comment.