removed If condition (#2546)
This commit is contained in:
parent
7e26990eb9
commit
498a84c8b3
|
@ -70,11 +70,7 @@ public class JavaDirectoryDeleteUnitTest {
|
|||
|
||||
if (allContents != null) {
|
||||
for (File file : allContents) {
|
||||
if (file.isDirectory()) {
|
||||
deleteDirectory(file);
|
||||
} else {
|
||||
file.delete();
|
||||
}
|
||||
deleteDirectory(file);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue