src/main/java/seedu/address/model/modelProgress/Progress.java
@Override
    public boolean weakEquals(ModelObject otherProgress) {
        if (otherProgress == this) {
            return true;
        }

        if (!(otherProgress instanceof Progress)) {
            return false;
        }
        Progress otherProgressCast = (Progress) otherProgress;
        return otherProgressCast != null
                && otherProgressCast.getId().equals(getId())
                && otherProgressCast.getIsDone().equals(getIsDone());

    }
/**
     * Returns true if both progresses of the same name have at least one other identity field that is
     * the same. This defines a weaker notion of equality between two progresses.
     *
     * @return true if two same name progresses have another identity field the same, false otherwise.
     */
Returns true if both progresses of the same name have at least one other identity field that is
the same. This defines a weaker notion of equality between two progresses.

@return true if two same name progresses have another identity field the same, false otherwise.
Returns true if both progresses of the same name have at least one other identity field that is the same . This defines a weaker notion of equality between two progresses . @return true if two same name progresses have another identity field the same false otherwise .
@Override
    public boolean weakEquals(ModelObject otherProgress) {
        if (otherProgress == this) {
            return true;
        }
        if (!(otherProgress instanceof Progress)) {
            return false;
        }
        Progress otherProgressCast = (Progress) otherProgress;
        return otherProgressCast != null
                && otherProgressCast.getId().equals(getId())
                && otherProgressCast.getIsDone().equals(getIsDone());
    }
@ Override public boolean weakEquals ( ModelObject otherProgress ) { if ( otherProgress == this ) { return true ; } if ( ! ( otherProgress instanceof Progress ) ) { return false ; } Progress otherProgressCast = ( Progress ) otherProgress ; return otherProgressCast != null && otherProgressCast . getId ( ) . equals ( getId ( ) ) && otherProgressCast . getIsDone ( ) . equals ( getIsDone ( ) ) ; }
Returns true if both progresses of the same name have at least one other identity field that is
 the same.
Returns true if both progresses of the same name have at least one other identity field that is the same .