|
|
@ -29,6 +29,8 @@ public class FileUtils { |
|
|
|
for (File file : versionBackup) { |
|
|
|
for (File file : versionBackup) { |
|
|
|
if (file.isDirectory() && file.length() > 0) { |
|
|
|
if (file.isDirectory() && file.length() > 0) { |
|
|
|
versions.add(file.getName()); |
|
|
|
versions.add(file.getName()); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
StableUtils.deleteFile(file); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|