private void checkValidity() {
      ThreadingAssertions.assertEventDispatchThread();

      if (myCreationTime <= getRefreshTime()) {
        throw new SwitchRevisionsProviderException();
      }
    }
private void checkValidity()