void (Set<String> paths) { final RenameHelper helper = new RenameHelper(); final HashSet<String> copy = new HashSet<>(paths); paths.clear(); for (String s : copy) { paths.add(helper.convertBeforePath(s, myCopiedAddedPaths)); } }