Skip to content

Commit

Permalink
Merge pull request #135 from daryltay415/master
Browse files Browse the repository at this point in the history
Add jar file v2.0
  • Loading branch information
daryltay415 committed Apr 4, 2024
2 parents 0b2f8cb + 7474b7b commit 57f25ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Manifest-Version: 1.0
Main-Class: seedu.duke.Duke
Main-Class: seedu.omnitravel.omnitravel.OmniTravel

8 changes: 4 additions & 4 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{list here sources of all reused/adapted ideas, code, documentation, and third-party libraries -- include links to the original source as well}

## Design & implementation
{Describe the design and implementation of the product. Use UML diagrams and short code snippets where applicable.}


### Overview
![Overview.png](Overview.png)
Expand Down Expand Up @@ -88,7 +88,7 @@ The sequence diagram depicts the interaction between the user, the tagCommand me
## Product scope
### Target user profile
* Needs to manage multiple travel plans
* Prefers typing to GUI
* Prefers typing to clicking with mouse


### Value proposition
Expand Down Expand Up @@ -121,11 +121,11 @@ functions.

## Glossary

* *glossary item* - Definition
* Mainstream OS: Windows, Linux, MacOS

## Instructions for manual testing

{Give instructions on how to do a manual product testing e.g., how to load sample data to be used for testing}


- To add a general travel activity into the list

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/seedu/omnitravel/parser/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 57f25ec

Please sign in to comment.