Set<String> () { try { Path file = getUpdatedPluginsFile(); if (Files.isRegularFile(file)) { List<String> list = Files.readAllLines(file); Files.delete(file); return new HashSet<>(list); } } catch (IOException e) { LOG.warn(e); } return new HashSet<>(); }