From 7474b7b37fb71794e71511beba8c03eb9a6ead61 Mon Sep 17 00:00:00 2001 From: daryltay415 <13zidane@gmail.com> Date: Wed, 3 Apr 2024 20:20:13 +0800 Subject: [PATCH] Add jar file v2.0 --- META-INF/MANIFEST.MF | 2 +- src/main/java/seedu/omnitravel/parser/Parser.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/META-INF/MANIFEST.MF b/META-INF/MANIFEST.MF index e26fd17aea..f060516edd 100644 --- a/META-INF/MANIFEST.MF +++ b/META-INF/MANIFEST.MF @@ -1,3 +1,3 @@ Manifest-Version: 1.0 -Main-Class: seedu.duke.Duke +Main-Class: seedu.omnitravel.omnitravel.OmniTravel diff --git a/src/main/java/seedu/omnitravel/parser/Parser.java b/src/main/java/seedu/omnitravel/parser/Parser.java index 1abf23aaee..e04d1ea925 100644 --- a/src/main/java/seedu/omnitravel/parser/Parser.java +++ b/src/main/java/seedu/omnitravel/parser/Parser.java @@ -308,11 +308,11 @@ public static void removeExpenseCommand(String[] command, TravelActivityList lis public static void totalExpenseCommand(String line, TravelActivityList list) throws OmniException { String[] command = line.split("/type"); if (command.length < 1 || command.length > 2) { - throw new OmniException("Please check your command is in the format totalexpense [/tag TYPE]"); + throw new OmniException("Please check your command is in the format totalexpense [/type TYPE]"); } if (command.length == 1) { if(!command[0].trim().equals("totalexpense")) { - throw new OmniException("Please check your command is in the format totalexpense [/tag TYPE]"); + throw new OmniException("Please check your command is in the format totalexpense [/type TYPE]"); } list.totalExpense("all"); } else {