I see that the method OWLOntologyDocumentTarget#getWriter opens Writer while writing and then close it.
But the method OWLOntologyDocumentTarget#getOutputStream() does not close OutputStream after processing.
Probably there is a lack of documentation.
Maybe I just haven't found documentation on this?
I think such documentation is important: in ONT-API there is a related bug https://github.com/owlcs/ont-api/issues/53
I see that the method
OWLOntologyDocumentTarget#getWriter
opensWriter
while writing and then close it.But the method
OWLOntologyDocumentTarget#getOutputStream()
does not closeOutputStream
after processing.Probably there is a lack of documentation.
Maybe I just haven't found documentation on this?
I think such documentation is important: in ONT-API there is a related bug https://github.com/owlcs/ont-api/issues/53