Skip to content

Commit

Permalink
Merge pull request #2 from Cohii2/branch-A-JavaDoc
Browse files Browse the repository at this point in the history
Add JavaDoc comments
  • Loading branch information
Cohii2 authored Mar 7, 2024
2 parents 7830c19 + 938f22f commit a4ec502
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/duke/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ public List<Task> getList() {
return taskList.getTaskList();
}

/**
* Executes command from user.
*
* @param command Command from user.
* @param argument Argument specified by user.
*/
public void executeCommand(String command, String argument)
throws MissingParamsException, DukeException.EndListException,
DukeException.InvalidCommandException, DukeException.InvalidIntegerException,
Expand Down
1 change: 1 addition & 0 deletions src/main/java/duke/Ui.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/** Universal print functions used by most Classes */
public class Ui {
public static final String chatbotName = "Noriaki";

/**
* Prints greeting.
*/
Expand Down

0 comments on commit a4ec502

Please sign in to comment.