void (boolean isRestart) { Collection<PluginId> plugins = InstalledPluginsState.getInstance().getUpdatedPlugins(); if (plugins.isEmpty()) return; Set<String> idStrings = getUpdatedPlugins(); for (PluginId plugin : plugins) { idStrings.add(plugin.getIdString()); } try { Files.write(getUpdatedPluginsFile(), idStrings); } catch (IOException e) { LOG.warn(e); } }