package seedu.address.commons.events.model;

import seedu.address.commons.events.BaseEvent;
import seedu.address.model.ReadOnlyTaskList;

/** Indicates the AddressBook in the model has changed*/
public class AddressBookChangedEvent extends BaseEvent {

    public final ReadOnlyTaskList data;

    public AddressBookChangedEvent(ReadOnlyTaskList data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "number of persons " + data.getPersonList().size() + ", number of tags " + data.getTagList().size();
    }
}

@@ -117,27 +117,27 @@
 el.ReadOnlyT
-ask
+odo
 List;%0A%0A/** I
@@ -149,27 +149,24 @@
 tes the 
-AddressBook
+TodoList
  in the 
@@ -198,27 +198,24 @@
 c class 
-AddressBook
+TodoList
 ChangedE
@@ -258,35 +258,35 @@
  final ReadOnlyT
-ask
+odo
 List data;%0A%0A    
@@ -296,19 +296,16 @@
 lic 
-AddressBook
+TodoList
 Chan
@@ -326,11 +326,11 @@
 nlyT
-ask
+odo
 List
@@ -446,14 +446,12 @@
  of 
-person
+todo
 s %22 
@@ -464,14 +464,12 @@
 .get
-Person
+Todo
 List

Refactor TodoListChangedEvent.java