From c5190117c1bac58490c8f4bee8eb2fd8506f9273 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Wed, 11 Aug 2021 14:48:43 +0400 Subject: [PATCH] #5 -- fix deleting time series file --- src/main/java/ru/ulstu/db/DbFileService.java | 1 + 1 file changed, 1 insertion(+) 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