imporve code completion

This commit is contained in:
hyb1996
2017-07-21 17:05:01 +08:00
parent ab2ad906e7
commit 6d62b40b21
12 changed files with 476 additions and 136 deletions

View File

@@ -322,7 +322,7 @@ public class PFile {
return new File(path).isDirectory();
}
public static boolean isDirEmpty(String path) {
public static boolean isEmptyDir(String path) {
File file = new File(path);
return file.isDirectory() && file.list().length == 0;
}