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) {
|
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();
|
||||||
|
|
Loading…
Reference in New Issue