private void registerCommonSettings(@NotNull String langId, @NotNull CommonCodeStyleSettings settings) {
    synchronized (this) {
      if (!myCommonSettingsMap.containsKey(langId)) {
        myCommonSettingsMap.put(langId, settings);
        //noinspection ResultOfMethodCallIgnored
        settings.getRootSettings(); // check not null
      }
    }
  }
private void registerCommonSettings(@NotNull String langId, @NotNull CommonCodeStyleSettings settings)