package tars.commons.events.model;

import tars.commons.events.BaseEvent;
import tars.model.ReadOnlyTars;

/** Indicates the Tars in the model has changed*/
public class TarsChangedEvent extends BaseEvent {

    public final ReadOnlyTars data;

    public TarsChangedEvent(ReadOnlyTars data){
        this.data = data;
    }

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

@@ -151,11 +151,12 @@
 nged
+ 
 */%0A
-
 publ
@@ -285,16 +285,17 @@
 rs data)
+ 
 %7B%0A      
@@ -362,24 +362,24 @@
 oString() %7B%0A
-
         retu
@@ -432,16 +432,95 @@
 e() + %22,
+ number of reserved tasks %22%0A                + data.getRsvTaskList().size() + %22,
  number 

Update TarsChangedEvent logger