diff --git a/src/main/java/ru/ulstu/db/DbFileService.java b/src/main/java/ru/ulstu/db/DbFileService.java index 8d9d70d..d6281b6 100644 --- a/src/main/java/ru/ulstu/db/DbFileService.java +++ b/src/main/java/ru/ulstu/db/DbFileService.java @@ -103,6 +103,7 @@ public class DbFileService implements DbService { public void deleteTimeSeries(TimeSeriesSet set, String timeSeriesKey) throws IOException { validateDb(set, timeSeriesKey); Files.delete(getTimeSeriesFile(set, timeSeriesKey).toPath()); + Files.delete(getTimeSeriesMetaFile(set, timeSeriesKey).toPath()); } @Override