PIbd-21 Belianin N.N. LabWork06 Hard #8

Closed
Belnik wants to merge 7 commits from LabWork06 into LabWork05
Showing only changes of commit 23173f9936 - Show all commits

View File

@ -100,8 +100,9 @@ public class TanksGenericStorage {
// Сохранение информации по технике в хранилище в файл
public boolean SaveData(String filename) {
if(new File(filename).exists())
if(new File(filename).exists()) {
new File(filename).delete();
}
StringBuilder data = new StringBuilder();