private State<T> getCurrentState() {
        return pendingState == null
                ? state
                : pendingState;
    }
Get the current state of the presenter.

@return the pending state if one exists, otherwise the state
stroom-core-client-widget/src/main/java/com/google/gwt/user/cellview/client/HasDataPresenter.java