Remove deprecation warning for hasErrorsOrWarningsToDisplay().

Detecting whether hasErrorsOrWarningsToDisplay() is the same as
!isEmpty() can't be done reliably.  Just leave it alone for now.