void (Collection<String> pathList, String path) { final Set<String> vals = Sets.newHashSet(pathList); final String filePath = FileUtil.toSystemDependentName(path); if (!vals.contains(filePath)) { pathList.add(filePath); } }