Cleanup: Use foreach whenever is possible

This commit is contained in:
Mathis Chenuet
2015-01-25 18:36:39 +00:00
committed by Laurent Clouet
parent c6dafb3bf6
commit 3ea4107dc1
4 changed files with 12 additions and 13 deletions

View File

@@ -197,8 +197,7 @@ public class Configuration {
File[] files = dir.listFiles();
if (files != null) {
for (int i = 0; i < files.length; i++) {
File file = files[i];
for (File file : files) {
if (file.isDirectory()) {
Utils.delete(file);
}