public void checkNumber() {
    if (myLimit <= 0) return;
    ++myCount;
    if (isOver()) {
      if (!myWarningShown) {
        String settingPath = isMac ? VcsBundle.message("vcs.settings.path.mac") : VcsBundle.message("vcs.settings.path");
        String message = VcsBundle.message("file.history.exceeded.limit.message", myLimit, myFilePath, settingPath);
        VcsBalloonProblemNotifier.showOverChangesView(myProject, message, MessageType.WARNING);
        myWarningShown = true;
      }
      throw new VcsFileHistoryLimitReachedException();
    }
  }
public void checkNumber()