Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ dependencies {
// Third-party
implementation 'com.journeyapps:zxing-android-embedded:4.3.0@aar'
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.github.invissvenska:NumberPickerPreference:1.0.4'
implementation 'net.lingala.zip4j:zip4j:2.11.5'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.io.UncheckedIOException;
import java.math.BigDecimal;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
Expand Down Expand Up @@ -100,7 +101,7 @@ public void parseV1(SQLiteDatabase database, BufferedReader input) throws IOExce
}

parser.close();
} catch (IllegalArgumentException | IllegalStateException e) {
} catch (UncheckedIOException e) {
throw new FormatException("Issue parsing CSV data", e);
}
}
Expand Down Expand Up @@ -182,7 +183,7 @@ public void parseV2Groups(SQLiteDatabase database, String data) throws IOExcepti
throw new InterruptedException();
}
}
} catch (IllegalArgumentException | IllegalStateException e) {
} catch (UncheckedIOException e) {
throw new FormatException("Issue parsing CSV data", e);
} finally {
groupParser.close();
Expand All @@ -207,7 +208,7 @@ public void parseV2Cards(Context context, SQLiteDatabase database, String data)
throw new InterruptedException();
}
}
} catch (IllegalArgumentException | IllegalStateException e) {
} catch (UncheckedIOException e) {
throw new FormatException("Issue parsing CSV data", e);
} finally {
cardParser.close();
Expand All @@ -232,7 +233,7 @@ public void parseV2CardGroups(SQLiteDatabase database, String data) throws IOExc
throw new InterruptedException();
}
}
} catch (IllegalArgumentException | IllegalStateException e) {
} catch (UncheckedIOException e) {
throw new FormatException("Issue parsing CSV data", e);
} finally {
cardGroupParser.close();
Expand Down