owlcs / owlapi

OWL API main repository
813 stars 314 forks source link

`OWLOntologyDocumentTarget`: documentation #1115

Open sszuev opened 8 months ago

sszuev commented 8 months ago

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