]> source.dussan.org Git - pf4j.git/commitdiff
Fix the compilation error introduced by the previous commit
authordecebals <decebal.suiu@gmail.com>
Thu, 21 Mar 2019 08:56:49 +0000 (10:56 +0200)
committerdecebals <decebal.suiu@gmail.com>
Thu, 21 Mar 2019 08:56:49 +0000 (10:56 +0200)
pf4j/src/main/java/org/pf4j/util/FileUtils.java

index 5c84b2a9ed9443b457e95d57ebd108b2e244e8af..7bd7abea8d998031445cdda1c799790a7b1b7b77 100644 (file)
@@ -77,7 +77,7 @@ public class FileUtils {
      * @throws IOException if something goes wrong
      */
     public static void delete(Path path) throws IOException {
-        Files.walkFileTree(path, new SimpleFileVisitor<>() {
+        Files.walkFileTree(path, new SimpleFileVisitor<Path>() {
 
            @Override
            public FileVisitResult visitFile(Path path, BasicFileAttributes attrs) throws IOException {