/guava/guava/src/com/google/common/io/MoreFiles.java
if ( Files.isDirectory( path, NOFOLLOW_LINKS) ) { try {
try { if ( Files.isDirectory ( path, NOFOLLOW_LINKS ) ) {
return addException(exceptions, e.getCause()); } } @CheckForNull private static Collection<IOException> deleteRecursivelyInsecure(Path path) { Collection<IOException> exceptions = null; <extra_id_0> try (DirectoryStream<Path> stream = Files.newDirectoryStream(path)) { exceptions = deleteDirectoryContentsInsecure(stream); } } if (exceptions == null) { Files.delete(path);