void () { if (myUpdatedPlugins != null) { if (myAlreadyShownPluginUpdates == null) { myAlreadyShownPluginUpdates = new HashSet<>(); } myUpdatedPlugins.forEach(plugin -> myAlreadyShownPluginUpdates.add(plugin.getPluginName())); } }