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

    https://github.com/apache/jena/pull/251#discussion_r117813861
  
    --- Diff: 
jena-arq/src/main/java/org/apache/jena/atlas/web/TypedInputStream.java ---
    @@ -31,6 +31,7 @@
         // May be different from the URI used to access the resource 
         // e.g. 303 redirection, mapped URI redirection 
         private String baseURI ;
    +    private boolean isClosed = false ;
    --- End diff --
    
    Unnecessary in this case because it is safe to call close on the wrapped 
`InputStream` anyway.  The flag goes from false to true only.  The flag is 
useful (e.g. debugging) but is safe without. (I don't like over using 
`volatile` on principle.)


---
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