Close inputstream in importData

This commit is contained in:
Robin Syl
2022-10-14 21:36:02 +02:00
parent c10f859919
commit ba57fbbf85

View File

@@ -68,6 +68,8 @@ public class CatimaImporter implements Importer {
bufferedInputStream.reset();
importCSV(context, database, bufferedInputStream);
}
input.close();
}
public void importCSV(Context context, SQLiteDatabase database, InputStream input) throws IOException, FormatException, InterruptedException {