From 927ef2ef5f98e9d60d1f3b7ee462a982a3d1d4a0 Mon Sep 17 00:00:00 2001 From: zoebelle-pang Date: Wed, 3 Apr 2024 23:32:19 +0800 Subject: [PATCH 1/2] no message --- src/main/java/seedu/address/logic/commands/FilterCommand.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/seedu/address/logic/commands/FilterCommand.java b/src/main/java/seedu/address/logic/commands/FilterCommand.java index b5935795a17..1c1926314ea 100644 --- a/src/main/java/seedu/address/logic/commands/FilterCommand.java +++ b/src/main/java/seedu/address/logic/commands/FilterCommand.java @@ -36,7 +36,6 @@ public CommandResult execute(Model model) throws CommandException { String.format(MESSAGE_FILTER_ADDRESS_BOOK_SUCCESS + Messages.MESSAGE_PERSONS_LISTED_OVERVIEW, model.getFilteredPersonList().size(), predicate.filterResult())); } - @Override public boolean equals(Object other) { if (other == this) { From 9d640945e102e91a66f06dd04d5aac5db266f242 Mon Sep 17 00:00:00 2001 From: zoebelle-pang Date: Wed, 3 Apr 2024 23:34:46 +0800 Subject: [PATCH 2/2] Add payment command to filter payment status --- src/main/java/seedu/address/logic/commands/FilterCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/seedu/address/logic/commands/FilterCommand.java b/src/main/java/seedu/address/logic/commands/FilterCommand.java index 1c1926314ea..b4dd376a647 100644 --- a/src/main/java/seedu/address/logic/commands/FilterCommand.java +++ b/src/main/java/seedu/address/logic/commands/FilterCommand.java @@ -36,6 +36,7 @@ public CommandResult execute(Model model) throws CommandException { String.format(MESSAGE_FILTER_ADDRESS_BOOK_SUCCESS + Messages.MESSAGE_PERSONS_LISTED_OVERVIEW, model.getFilteredPersonList().size(), predicate.filterResult())); } + @Override public boolean equals(Object other) { if (other == this) {