Github user afs commented on the issue:

    https://github.com/apache/jena/pull/133
  
    I am not in favour of this change even if the internal Jena warnings are 
fixed.
    
    The impact is not solely on Jena codebase but also on all the application 
code written to the Jena API and the knock-on effect on the support list.
    
    try-with-resource is a good way to handle external resources, like files, 
and also where a mandatory final operation is necessary.
    
    "Model" does not fit that description.
    
    "ExtendedIterator" is widespread in the public API and Jena has not been 
enforcing closing for a very long time.
    
    A lot of application code will not be written to the try-with-resource 
style nor be structured to easily migrate. It only takes returning an iterator 
from a method to mean the code can not be easily updated.



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