Skip to content

Commit

Permalink
Merge branch 'master' into branch-level-10
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaeliaaa authored Sep 1, 2020
2 parents 4dddfcb + 35f3a02 commit adbcfe8
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/main/java/duke/TaskList.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public TaskList() {
* @param task
*/


public static String addTask(Task task) {
tasks.add(task);
String str = "_____________________________________________________"
Expand All @@ -34,14 +33,14 @@ public static String addTask(Task task) {
return str;
}

// /**
// * Adds task from listOfTasks.txt into user's list of tasks.
// *
// * @param task
// */
// public static void addStoredTask(Task task) {
// tasks.add(task);
// }
/**
* Adds task from listOfTasks.txt into user's list of tasks.
*
* @param task
*/
public static void addStoredTask(Task task) {
tasks.add(task);
}

/**
* Prints user's list of tasks.
Expand Down Expand Up @@ -130,4 +129,4 @@ public static String findTasks(String keyword) {
}
return str;
}
}
}

0 comments on commit adbcfe8

Please sign in to comment.