private void assertNotUpdating() {
    LOG.assertTrue(isUpToDate() || !ApplicationManager.getApplication().isDispatchThread(),
                   "Caret model is in its update process. All requests are illegal at this point.");
  }
private void assertNotUpdating()