equal
deleted
inserted
replaced
187 } |
187 } |
188 }; |
188 }; |
189 } |
189 } |
190 |
190 |
191 private List<Path> walkTree(Path dir) throws IOException { |
191 private List<Path> walkTree(Path dir) throws IOException { |
192 final List<Path> files = new ArrayList<Path>(); |
192 final List<Path> files = new ArrayList<>(); |
193 Files.walkFileTree(dir, new SimpleFileVisitor<Path>() { |
193 Files.walkFileTree(dir, new SimpleFileVisitor<Path>() { |
194 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) |
194 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) |
195 throws IOException { |
195 throws IOException { |
196 if (file.getFileName().toString().endsWith(".class")) { |
196 if (file.getFileName().toString().endsWith(".class")) { |
197 files.add(file); |
197 files.add(file); |