mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 13:20:57 +00:00
avoid warning due to unclosed resource in SensorDataImportServlet
Change-Id: I4a5a5efdc703cbb0b727335be0ec73b5103c6ddc
This commit is contained in:
1 parent
877e195f80
commit
e11153d8e6
1 file changed
+1
+1
@@ -77,6 +77,7 @@ public class SensorDataImportServlet extends AbstractFileUploadServlet {
|
||||
}
|
||||
}
|
||||
if (importerToUse == null) {
|
||||
in.close();
|
||||
throw new RuntimeException("Sensor importer not found");
|
||||
}
|
||||
in.mark(READ_BUFFER_SIZE);
|
||||
|
||||
Reference in new issue
Block a user