mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2025-12-25 08:07:56 -05:00
Compare commits
2 Commits
feature/as
...
googleAndr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4fe43bccff | ||
|
|
3732f8483b |
@@ -100,7 +100,7 @@ dependencies {
|
|||||||
// Third-party
|
// Third-party
|
||||||
implementation 'com.journeyapps:zxing-android-embedded:4.3.0@aar'
|
implementation 'com.journeyapps:zxing-android-embedded:4.3.0@aar'
|
||||||
implementation 'com.google.zxing:core:3.5.1'
|
implementation 'com.google.zxing:core:3.5.1'
|
||||||
implementation 'org.apache.commons:commons-csv:1.9.0'
|
implementation 'org.apache.commons:commons-csv:1.10.0'
|
||||||
implementation 'com.jaredrummler:colorpicker:1.1.0'
|
implementation 'com.jaredrummler:colorpicker:1.1.0'
|
||||||
implementation 'com.github.invissvenska:NumberPickerPreference:1.0.4'
|
implementation 'com.github.invissvenska:NumberPickerPreference:1.0.4'
|
||||||
implementation 'net.lingala.zip4j:zip4j:2.11.5'
|
implementation 'net.lingala.zip4j:zip4j:2.11.5'
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import java.io.IOException;
|
|||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.InputStreamReader;
|
import java.io.InputStreamReader;
|
||||||
import java.io.StringReader;
|
import java.io.StringReader;
|
||||||
|
import java.io.UncheckedIOException;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@@ -100,7 +101,7 @@ public class CatimaImporter implements Importer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
parser.close();
|
parser.close();
|
||||||
} catch (IllegalArgumentException | IllegalStateException e) {
|
} catch (UncheckedIOException e) {
|
||||||
throw new FormatException("Issue parsing CSV data", e);
|
throw new FormatException("Issue parsing CSV data", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -182,7 +183,7 @@ public class CatimaImporter implements Importer {
|
|||||||
throw new InterruptedException();
|
throw new InterruptedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IllegalArgumentException | IllegalStateException e) {
|
} catch (UncheckedIOException e) {
|
||||||
throw new FormatException("Issue parsing CSV data", e);
|
throw new FormatException("Issue parsing CSV data", e);
|
||||||
} finally {
|
} finally {
|
||||||
groupParser.close();
|
groupParser.close();
|
||||||
@@ -207,7 +208,7 @@ public class CatimaImporter implements Importer {
|
|||||||
throw new InterruptedException();
|
throw new InterruptedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IllegalArgumentException | IllegalStateException e) {
|
} catch (UncheckedIOException e) {
|
||||||
throw new FormatException("Issue parsing CSV data", e);
|
throw new FormatException("Issue parsing CSV data", e);
|
||||||
} finally {
|
} finally {
|
||||||
cardParser.close();
|
cardParser.close();
|
||||||
@@ -232,7 +233,7 @@ public class CatimaImporter implements Importer {
|
|||||||
throw new InterruptedException();
|
throw new InterruptedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IllegalArgumentException | IllegalStateException e) {
|
} catch (UncheckedIOException e) {
|
||||||
throw new FormatException("Issue parsing CSV data", e);
|
throw new FormatException("Issue parsing CSV data", e);
|
||||||
} finally {
|
} finally {
|
||||||
cardGroupParser.close();
|
cardGroupParser.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user