Skip to content

Commit

Permalink
Removed numOfTask variable references
Browse files Browse the repository at this point in the history
  • Loading branch information
imaginarys996 committed Sep 20, 2023
1 parent a608f54 commit 5e2946d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/chatbot/Chatbot.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ public static void parseCommand(ArrayList<Task> tasks, String input, boolean isU

Task task = new Todo(msg);
tasks.add(task);
numOfTasks++;

if (isUserInput) {
saveToFile(input);
Expand All @@ -117,7 +116,6 @@ public static void parseCommand(ArrayList<Task> tasks, String input, boolean isU

Task task = new Deadline(desc, byDate);
tasks.add(task);
numOfTasks++;

if (isUserInput) {
saveToFile(input);
Expand All @@ -141,7 +139,6 @@ public static void parseCommand(ArrayList<Task> tasks, String input, boolean isU

Task task = new Event(desc, fromDate, toDate);
tasks.add(task);
numOfTasks++;

if (isUserInput) {
saveToFile(input);
Expand Down

0 comments on commit 5e2946d

Please sign in to comment.