Skip to content

Commit

Permalink
docs: Fix header comments identified by se-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
HugeNoob committed Sep 19, 2023
1 parent f48eaae commit 505bbf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/duke/Duke.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Duke(String path) {
}

/**
* The main method is used to run the program.
* Runs the program.
*
* @param args The command line arguments.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/duke/commands/CommandType.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private CommandType(String value) {
}

/**
* The fromString method is used to get the command from the given string.
* Gets the command from the given string.
*
* @param value The string representation of the command.
* @return The command if it exists, null otherwise.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/duke/tasks/TaskList.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public int size() {
}

/**
* Find tasks that contain a specified query in their description.
* Finds tasks that contain a specified query in their description.
*
* @param query A query specified by the user.
* @return An ArrayList containing the index of items that contain the specified
Expand Down

0 comments on commit 505bbf7

Please sign in to comment.