mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-04-08 09:27:57 -04:00
Close inputstream in importData
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user