From 5e2946d665d43803b48707a3ecefb2814833f07c Mon Sep 17 00:00:00 2001 From: imaginarys96 Date: Thu, 21 Sep 2023 00:29:42 +0800 Subject: [PATCH] Removed numOfTask variable references --- src/main/java/chatbot/Chatbot.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/chatbot/Chatbot.java b/src/main/java/chatbot/Chatbot.java index ce2c5fb35..9936089a4 100644 --- a/src/main/java/chatbot/Chatbot.java +++ b/src/main/java/chatbot/Chatbot.java @@ -95,7 +95,6 @@ public static void parseCommand(ArrayList tasks, String input, boolean isU Task task = new Todo(msg); tasks.add(task); - numOfTasks++; if (isUserInput) { saveToFile(input); @@ -117,7 +116,6 @@ public static void parseCommand(ArrayList tasks, String input, boolean isU Task task = new Deadline(desc, byDate); tasks.add(task); - numOfTasks++; if (isUserInput) { saveToFile(input); @@ -141,7 +139,6 @@ public static void parseCommand(ArrayList tasks, String input, boolean isU Task task = new Event(desc, fromDate, toDate); tasks.add(task); - numOfTasks++; if (isUserInput) { saveToFile(input);