[ 
https://issues.apache.org/jira/browse/JENA-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500075#comment-16500075
 ] 

ASF GitHub Bot commented on JENA-1554:
--------------------------------------

Github user kinow commented on a diff in the pull request:

    https://github.com/apache/jena/pull/427#discussion_r192701731
  
    --- Diff: jena-base/src/main/java/org/apache/jena/atlas/io/IO.java ---
    @@ -158,15 +177,18 @@ static public OutputStream openOutputFileEx(String 
filename) throws FileNotFound
                 filename = IRILib.decode(filename) ;
             }
             OutputStream out = new FileOutputStream(filename) ;
    -        if ( filename.endsWith(".gz") )
    -            out = new GZIPOutputStream(out) ;
    +        String ext = FileOps.extension(filename);
    --- End diff --
    
    Digressing; but as we have `FilenameUtils.getExtension()` in the classpath, 
from commons-io, perhaps this could later be marked as `deprecated`?


> Support bz2 compression for parsing and loading.
> ------------------------------------------------
>
>                 Key: JENA-1554
>                 URL: https://issues.apache.org/jira/browse/JENA-1554
>             Project: Apache Jena
>          Issue Type: Improvement
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Major
>              Labels: newbie
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to