Code Cleanup

This commit is contained in:
Konloch 2022-02-13 14:14:24 -06:00
parent 45bae59ac9
commit 1ee0fa0107
1 changed files with 7 additions and 0 deletions

View File

@ -335,4 +335,11 @@ public class MiscUtils
return new File[0];
}
public static File deleteExistingFile(File file)
{
if (file.exists())
file.delete();
return file;
}
}