Github user rvesse commented on the issue:

    https://github.com/apache/jena/pull/209
  
    FYI this is the old writer code which for the most part is not used. The 
ARQ module contains the more modern API which is loaded in place of the old 
core implementations if both artefacts are present on the class path.
    
    I'm not sure that we should be closing the writers here. Those method calls 
take in `OutputStream` instances and the writer is only a local wrapping 
object. If the caller is providing the output stream it is generally the 
caller's responsibility too close that appropriately. There are legitimate use 
cases where closing the provided stream can lead to issues e.g. if `System.out` 
was passed in


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to