diff --git a/src/main/java/duke/Duke.java b/src/main/java/duke/Duke.java index ab3e4b6c0d..50940e01ce 100644 --- a/src/main/java/duke/Duke.java +++ b/src/main/java/duke/Duke.java @@ -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. */ diff --git a/src/main/java/duke/commands/CommandType.java b/src/main/java/duke/commands/CommandType.java index 937e6804b8..a6cb24f27b 100644 --- a/src/main/java/duke/commands/CommandType.java +++ b/src/main/java/duke/commands/CommandType.java @@ -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. diff --git a/src/main/java/duke/tasks/TaskList.java b/src/main/java/duke/tasks/TaskList.java index 946fd2ad93..5b0d7de180 100644 --- a/src/main/java/duke/tasks/TaskList.java +++ b/src/main/java/duke/tasks/TaskList.java @@ -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