private void doOpen() throws Exception {
    MavenLog.LOG.debug("open index " + this);
    ProgressManager.getInstance().computeInNonCancelableSection(() -> {
      File dataDir;
      synchronized (this) {
        if (myDataDirName == null) {
          dataDir = createNewDataDir();
          myDataDirName = dataDir.getName();
        }
        else {
          dataDir = new File(myDir, myDataDirName);
          dataDir.mkdirs();
        }

        if (myData != null) {
          myData.close(true);
        }
        if (isClose) return null;
        myData = new IndexData(dataDir);
        return null;
      }
    });
  }
private void doOpen()