avoid warning due to unclosed resource in SensorDataImportServlet

Change-Id: I4a5a5efdc703cbb0b727335be0ec73b5103c6ddc
This commit is contained in:
Axel Uhl committed 2016-09-09 15:43:36 +02:00
1 parent 877e195f80
commit e11153d8e6
1 file changed
+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);