Set<String> (List<File> toCompile) { final Set<String> toCompilePaths = new LinkedHashSet<>(); for (File file : toCompile) { if (LOG.isDebugEnabled()) { LOG.debug("Path to compile: " + file.getPath()); } toCompilePaths.add(FileUtil.toSystemIndependentName(file.getPath())); } return toCompilePaths; }