removed If condition (#2546)

This commit is contained in:
shekhar-s 2017-09-01 15:44:37 -06:00 committed by Zeger Hendrikse
parent 7e26990eb9
commit 498a84c8b3
1 changed files with 1 additions and 5 deletions

View File

@ -70,11 +70,7 @@ public class JavaDirectoryDeleteUnitTest {
if (allContents != null) {
for (File file : allContents) {
if (file.isDirectory()) {
deleteDirectory(file);
} else {
file.delete();
}
deleteDirectory(file);
}
}