mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-18 02:00:58 +00:00
expect .gz instead of only gz for GZIP recognition
Change-Id: I7bef26f8fc544e2012379e1054355001a8f436af
This commit is contained in:
1 parent
39b5fec647
commit
8a6b1a7394
1 file changed
+1
-1
+1
-1
@@ -69,7 +69,7 @@ public class BaseBravoDataImporterImpl extends AbstractDoubleVectorFixImporter {
|
||||
try {
|
||||
LOG.fine("Import CSV from " + filename);
|
||||
final InputStreamReader isr;
|
||||
if (sourceName.endsWith("gz")) {
|
||||
if (filename.endsWith(".gz")) {
|
||||
LOG.fine("Using gzip stream reader " + filename);
|
||||
isr = new InputStreamReader(new GZIPInputStream(inputStream));
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user