Pre Merge pull request !73 from opoa/N/A

This commit is contained in:
opoa 2021-06-16 09:13:33 +00:00 committed by Gitee
commit e111f138ab
1 changed files with 259 additions and 260 deletions

View File

@ -97,8 +97,7 @@ public class FileUtils
// 路径为文件且不为空则进行删除 // 路径为文件且不为空则进行删除
if (file.isFile() && file.exists()) if (file.isFile() && file.exists())
{ {
file.delete(); flag = file.delete();
flag = true;
} }
return flag; return flag;
} }