code: public void increaseMajorVersion() {
          try {
              updateInternalHistory();
              setMajorVersion(getMajorVersion() + 1);
              setMidVersion(0);
              setMinorVersion(0);
              updateInternalHistory();
          }
          catch (Exception ex) {
              Exceptions.printStackTrace(ex);
          }
      }
docs: Increase major version.