Skip to content

Commit

Permalink
Fix naming conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
louietyj committed Nov 5, 2016
1 parent 9757850 commit 7dbb0da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/seedu/todo/models/TodoListDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ public boolean destroyTask(Task task) {
*
* @param tasks Tasks to remove
*/
public void destroyTasks(List<Task> tasks) {
tasks.removeAll(tasks);
public void destroyTasks(List<Task> clearTasks) {
tasks.removeAll(clearTasks);
}

/**
Expand Down Expand Up @@ -252,8 +252,8 @@ public boolean destroyEvent(Event event) {
*
* @param tasks Tasks to remove
*/
public void destroyEvents(List<Event> events) {
events.removeAll(events);
public void destroyEvents(List<Event> clearEvents) {
events.removeAll(clearEvents);
}

/**
Expand Down

0 comments on commit 7dbb0da

Please sign in to comment.