Hello there,

I was working with Jena dependencies in my projects for some time and was
always wondering why the org.apache.jena.util.iterator.ClosableIterator
didn't extend the java.lang.AutoCloseable interface.

It appears to me like a simple change that would allow other developers
(and me) to use these iterators in try-with-resource statements. This would
simplify working with Jena significantly.

Is there a specific reason why the ClosableIterator doesn't extend the
AutoClosable interface?

Regards,
Raphael

Reply via email to