This commit is contained in:
yushijinhun 2018-12-02 14:57:37 +08:00
parent 4d7af2e68b
commit 900f483a03
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4

View File

@ -250,7 +250,8 @@ public final class FileUtils {
}
public static boolean makeDirectory(File directory) {
return directory.isDirectory() || directory.mkdirs();
directory.mkdirs();
return directory.isDirectory();
}
public static boolean makeFile(File file) {