Minor syntax fix
parent
0d80e25d1f
commit
194357fc57
|
@ -220,7 +220,7 @@ public class MenuPanel extends JPanel implements Runnable, KeyListener{
|
|||
}
|
||||
|
||||
public static void deleteFiles(File dirPath) {
|
||||
File filesList[] = dirPath.listFiles();
|
||||
File[] filesList = dirPath.listFiles();
|
||||
for(File file : filesList) {
|
||||
if(file.isFile()) {
|
||||
file.delete();
|
||||
|
|
Loading…
Reference in New Issue