diff --git a/src/main/java/TaskManager.java b/src/main/java/TaskManager.java index 604e79fe5..f60314ef6 100644 --- a/src/main/java/TaskManager.java +++ b/src/main/java/TaskManager.java @@ -117,9 +117,9 @@ public void manageCommand(ArrayList command){ break; case "UNMARK": case "MARK": - boolean mark = command.get(0).equals("MARK")?true:false; + boolean isMark = command.get(0).equals("MARK")?true:false; int indexMark = Integer.parseInt(command.get(1)); - changeTaskStatus(indexMark, mark); + changeTaskStatus(indexMark, isMark); break; case "DELETE": int indexDelete = Integer.parseInt(command.get(1));