mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-09-21 22:25:49 -04:00
CatimaImporter: add .close()
This commit is contained in:
1 parent
ba896fc1db
commit
9ee96b88e8
1 file changed
+4
@@ -93,6 +93,8 @@ public class CatimaImporter implements Importer {
|
||||
importedData = importCSV(bufferedInputStream1);
|
||||
}
|
||||
|
||||
input1.close();
|
||||
|
||||
if (importedData == null) {
|
||||
throw new FormatException("No imported data");
|
||||
}
|
||||
@@ -112,6 +114,8 @@ public class CatimaImporter implements Importer {
|
||||
Utils.saveCardImage(context, ZipUtils.readImage(zipInputStream2), newFileName);
|
||||
}
|
||||
}
|
||||
|
||||
input2.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user