unused/DeprecatedModelManager.java
private void handleTabChange(ReadOnlyParcel targetParcel) {
        try {
            if (targetParcel.getStatus().equals(Status.getInstance("COMPLETED"))) {
                if (this.getTabIndex().equals(TAB_ALL_PARCELS)) {
                    uiJumpToTabCompleted();
                }
            } else {
                if (this.getTabIndex().equals(TAB_COMPLETED_PARCELS)) {
                    uiJumpToTabAll();
                }
            }
        } catch (IllegalValueException e) {
            e.printStackTrace();
        }

    }
/**
     * Method to internally change the active list to the correct tab according to the changed parcel.
     * @param targetParcel
     */
Method to internally change the active list to the correct tab according to the changed parcel.
@param targetParcel
Method to internally change the active list to the correct tab according to the changed parcel . @param targetParcel
private void handleTabChange(ReadOnlyParcel targetParcel) {
        try {
            if (targetParcel.getStatus().equals(Status.getInstance("COMPLETED"))) {
                if (this.getTabIndex().equals(TAB_ALL_PARCELS)) {
                    uiJumpToTabCompleted();
                }
            } else {
                if (this.getTabIndex().equals(TAB_COMPLETED_PARCELS)) {
                    uiJumpToTabAll();
                }
            }
        } catch (IllegalValueException e) {
            e.printStackTrace();
        }
    }
private void handleTabChange ( ReadOnlyParcel targetParcel ) { try { if ( targetParcel . getStatus ( ) . equals ( Status . getInstance ( "COMPLETED" ) ) ) { if ( this . getTabIndex ( ) . equals ( TAB_ALL_PARCELS ) ) { uiJumpToTabCompleted ( ) ; } } else { if ( this . getTabIndex ( ) . equals ( TAB_COMPLETED_PARCELS ) ) { uiJumpToTabAll ( ) ; } } } catch ( IllegalValueException e ) { e . printStackTrace ( ) ; } }
Method to internally change the active list to the correct tab according to the changed parcel.
Method to internally change the active list to the correct tab according to the changed parcel .