Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jehousoh committed Aug 24, 2022
1 parent d138844 commit fda1cb3
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/main/java/duke/task/TaskList.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,30 +36,24 @@ public void delete(int index) {
taskList.remove(index);
}

<<<<<<< HEAD
/**
* Method to get the task given its index
*
* @param index the index of the task to be found
* @return the task in the index given
*/
public Task getTask(int index) { return taskList.get(index); }
public Task getTask(int index) {
return taskList.get(index);
}

/**
* Method to get the size of the taskList
*
* @return the size of the taskList
*/
public int getSize() { return taskList.size(); }
=======
public Task getTask(int index) {
return taskList.get(index);
}

public int getSize() {
return taskList.size();
}
>>>>>>> branch-A-CodingStandard

/**
* Method to clear the entire taskList
Expand Down

0 comments on commit fda1cb3

Please sign in to comment.