expect .gz instead of only gz for GZIP recognition

Change-Id: I7bef26f8fc544e2012379e1054355001a8f436af
This commit is contained in:
Axel Uhl committed 2017-11-22 11:17:27 +01:00
1 parent 39b5fec647
commit 8a6b1a7394
1 file changed
+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 {