diff --git a/data/addressbook.json b/data/addressbook.json deleted file mode 100644 index 1c7fbc73bb9..00000000000 --- a/data/addressbook.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "categories" : [ { - "categoryName" : "Food", - "summary" : "For food" - }, { - "categoryName" : "Entertainment", - "summary" : "For entertainment" - }, { - "categoryName" : "Transportation", - "summary" : "For bus, car, train" - }, { - "categoryName" : "Shopping", - "summary" : "" - }, { - "categoryName" : "Housing", - "summary" : "" - } ], - "expenses" : [ { - "name" : "a", - "amount" : "2.0", - "date" : "2023-12-31", - "category" : { - "categoryName" : "Housing", - "summary" : "" - } - }, { - "name" : "a", - "amount" : "2.0", - "date" : "2023-04-30", - "category" : { - "categoryName" : "Housing", - "summary" : "" - } - }, { - "name" : "Meal at JE", - "amount" : "4.5", - "date" : "2023-04-10", - "category" : { - "categoryName" : "Food", - "summary" : "For food" - } - }, { - "name" : "Groceries", - "amount" : "56.3", - "date" : "2023-03-25", - "category" : { - "categoryName" : "Food", - "summary" : "For food" - } - }, { - "name" : "Shoes", - "amount" : "75.0", - "date" : "2023-03-20", - "category" : { - "categoryName" : "Shopping", - "summary" : "" - } - }, { - "name" : "Movie ticket", - "amount" : "12.99", - "date" : "2023-03-15", - "category" : { - "categoryName" : "Entertainment", - "summary" : "For entertainment" - } - }, { - "name" : "MRT fare", - "amount" : "45.8", - "date" : "2023-03-10", - "category" : { - "categoryName" : "Transportation", - "summary" : "For bus, car, train" - } - } ], - "budget" : { - "amount" : "0.0" - }, - "recurringGenerators" : [ ] -} diff --git a/src/main/java/fasttrack/logic/commands/general/CategorySummaryCommand.java b/src/main/java/fasttrack/logic/commands/general/CategorySummaryCommand.java index 06af8cf03b3..0b37a27f7e5 100644 --- a/src/main/java/fasttrack/logic/commands/general/CategorySummaryCommand.java +++ b/src/main/java/fasttrack/logic/commands/general/CategorySummaryCommand.java @@ -17,7 +17,7 @@ */ public class CategorySummaryCommand implements GeneralCommand { - public static final String COMMAND_WORD = "scat"; + public static final String COMMAND_WORD = "sumcat"; public static final String MESSAGE_USAGE = COMMAND_WORD + ": Displays summary of category " + "Parameters: INDEX (must be a positive integer)\n" + "Example: " + COMMAND_WORD + " 1";