@Override
  public void removeRangeFromModel(int start, int end) {
    ThreadingAssertions.assertEventDispatchThread();
    if (start < getSize() && !isEmpty()) {
      myDelegate.removeRange(start, Math.min(end, getSize() - 1));
    }
  }
@Override
  public void removeRangeFromModel(int start, int end)