src/main/java/seedu/address/logic/commands/UndoableCommand.java
protected final void undo() {
        requireAllNonNull(model, previousAddressBook);
        model.resetData(previousAddressBook);
        model.updateFilteredParcelList(PREDICATE_SHOW_ALL_PARCELS);
        if (previousActiveListIsAll) {
            model.uiJumpToTabAll();
        } else {
            model.uiJumpToTabCompleted();
        }
    }
/**
     * Reverts the AddressBook to the state before this command
     * was executed and updates the filtered parcel list to
     * show all parcels.
     */
Reverts the AddressBook to the state before this command
was executed and updates the filtered parcel list to
show all parcels.
Reverts the AddressBook to the state before this command was executed and updates the filtered parcel list to show all parcels .
protected final void undo() {
        requireAllNonNull(model, previousAddressBook);
        model.resetData(previousAddressBook);
        model.updateFilteredParcelList(PREDICATE_SHOW_ALL_PARCELS);
        if (previousActiveListIsAll) {
            model.uiJumpToTabAll();
        } else {
            model.uiJumpToTabCompleted();
        }
    }
protected final void undo ( ) { requireAllNonNull ( model , previousAddressBook ) ; model . resetData ( previousAddressBook ) ; model . updateFilteredParcelList ( PREDICATE_SHOW_ALL_PARCELS ) ; if ( previousActiveListIsAll ) { model . uiJumpToTabAll ( ) ; } else { model . uiJumpToTabCompleted ( ) ; } }
Reverts the AddressBook to the state before this command
 was executed and updates the filtered parcel list to
 show all parcels.
Reverts the AddressBook to the state before this command was executed and updates the filtered parcel list to show all parcels .