src/main/java/seedu/taskmanager/model/task/Task.java
/**
     * Updates this person with the details of {@code replacement}.
     */
Updates this person with the details of  replacement.
Updates this person with the details of replacement .
public void resetData(ReadOnlyTask replacement) {
        assert replacement != null;
        this.setTaskName(replacement.getTaskName());
        this.setStartDate(replacement.getStartDate());
        this.setStartTime(replacement.getStartTime());
        this.setEndDate(replacement.getEndDate());
        this.setEndTime(replacement.getEndTime());
        this.setIsMarkedAsComplete(replacement.getIsMarkedAsComplete());
        this.setCategories(replacement.getCategories());
    }
public void resetData ( ReadOnlyTask replacement ) { assert replacement != null ; this . setTaskName ( replacement . getTaskName ( ) ) ; this . setStartDate ( replacement . getStartDate ( ) ) ; this . setStartTime ( replacement . getStartTime ( ) ) ; this . setEndDate ( replacement . getEndDate ( ) ) ; this . setEndTime ( replacement . getEndTime ( ) ) ; this . setIsMarkedAsComplete ( replacement . getIsMarkedAsComplete ( ) ) ; this . setCategories ( replacement . getCategories ( ) ) ; }
Updates this person with the details of {@code replacement}.
Updates this person with the details of { @code replacement } .