Skip to content

Commit a9c7403

Browse files
committed
Fix comments to adhere to coding standard
1 parent 07dd03d commit a9c7403

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/main/java/bot/gui/Launcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
public class Launcher {
1010
/**
11-
* Main method for the entire project.
11+
* Starts the GUI.
1212
*
1313
* @param args Command line arguments.
1414
*/

src/main/java/bot/utils/commands/AddCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import bot.utils.tasks.Task;
88

99
/**
10-
* Bot.Command to add tasks to the task list.
10+
* Command to add tasks to the task list.
1111
*/
1212
class AddCommand extends Command {
1313
/**

src/main/java/bot/utils/commands/MarkCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import bot.utils.Ui;
88

99
/**
10-
* Bot.Command to mark the task as done or not done.
10+
* Command to mark the task as done or not done.
1111
*/
1212
class MarkCommand extends Command {
1313
/**

src/main/java/bot/utils/tasks/Deadline.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public static Deadline makeDeadline(String str) throws InvalidTaskException {
8888
}
8989

9090
/**
91-
* String representation of the deadline.
91+
* Gets the string representation of the deadline.
9292
*
9393
* @return String representation.
9494
*/
@@ -100,7 +100,7 @@ public String toString() {
100100
}
101101

102102
/**
103-
* Get the deadline time.
103+
* Gets the deadline time.
104104
*
105105
* @return Deadline time.
106106
*/

src/main/java/bot/utils/tasks/Event.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static bot.utils.tasks.Event makeEvent(String str) throws InvalidTaskExce
9898
}
9999

100100
/**
101-
* Get event start time.
101+
* Gets event start time.
102102
*
103103
* @return Event start time.
104104
*/
@@ -107,7 +107,7 @@ protected LocalDate getFrom() {
107107
}
108108

109109
/**
110-
* Get event end time.
110+
* Gets event end time.
111111
*
112112
* @return Event end time.
113113
*/
@@ -116,7 +116,7 @@ protected LocalDate getTo() {
116116
}
117117

118118
/**
119-
* String representation of the event.
119+
* Gets the string representation of the event.
120120
*
121121
* @return String representation.
122122
*/

src/main/java/bot/utils/tasks/ToDo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static ToDo makeToDo(String str) throws InvalidTaskException {
7272
}
7373

7474
/**
75-
* String representation of the todo.
75+
* Gets the string representation of the todo.
7676
*
7777
* @return String representation.
7878
*/
@@ -82,7 +82,7 @@ public String toString() {
8282
}
8383

8484
/**
85-
* Get data string representation.
85+
* Gets data string representation.
8686
*
8787
* @return Data string.
8888
*/

0 commit comments

Comments
 (0)