void () { UpdateSettings settings = UpdateSettings.getInstance(); if (settings.isObsoleteCustomRepositoriesCleanNeeded()) { boolean cleaned = settings.getStoredPluginHosts().removeIf(host -> host.startsWith("https://secure.feed.toolbox.app/plugins")); if (cleaned) { LOG.info("Some obsolete TBE custom repositories have been removed"); } settings.setObsoleteCustomRepositoriesCleanNeeded(false); } }