Minor syntax fix

master
John 2022-06-20 19:24:29 -07:00
parent 0d80e25d1f
commit 194357fc57
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ public class MenuPanel extends JPanel implements Runnable, KeyListener{
} }
public static void deleteFiles(File dirPath) { public static void deleteFiles(File dirPath) {
File filesList[] = dirPath.listFiles(); File[] filesList = dirPath.listFiles();
for(File file : filesList) { for(File file : filesList) {
if(file.isFile()) { if(file.isFile()) {
file.delete(); file.delete();