private void onOperationFinished(@NonNull final OperationDelivery<?> operationResult) {
        logd("onOperationFinished " + operationResult);
        switch (mState) {
            case PAUSED:
                storeResult(operationResult);
                break;
            case RESUMED:
                deliverResult(operationResult);
                break;
            default:
                throw new IllegalStateException("Unknown state: " + mState);
        }
    }
private void onOperationFinished(@NonNull final OperationDelivery<?> operationResult) {
        logd("onOperationFinished " + operationResult);
        switch (mState) {
            case PAUSED:
                storeResult(operationResult);
                break;
            case RESUMED:
                deliverResult(operationResult);
                break;
            default:
                throw new IllegalStateException("Unknown state: " + mState);
        }
    }
private void onOperationFinished ( @ NonNull final OperationDelivery < ? > operationResult ) { logd ( "onOperationFinished " + operationResult ) ; switch ( mState ) { case PAUSED : storeResult ( operationResult ) ; break ; case RESUMED : deliverResult ( operationResult ) ; break ; default : throw new IllegalStateException ( "Unknown state: " + mState ) ; } }
A dispatcher method which decides what to do with an operation result.

@param operationResult an operation result which needs to be dispatched
A dispatcher method which decides what to do with an operation result .