Is there a reason why org.apache.pdfbox.pdfwriter.COSWriter no longer
implements Closeable/AutoCloseable in version 3.x?

For comparison:

-
https://javadoc.io/static/org.apache.pdfbox/pdfbox/2.0.34/org/apache/pdfbox/pdfwriter/COSWriter.html
-
https://javadoc.io/static/org.apache.pdfbox/pdfbox/3.0.5/org/apache/pdfbox/pdfwriter/COSWriter.html

https://javadoc.io/static/org.apache.pdfbox/pdfbox/3.0.5/org/apache/pdfbox/pdfwriter/COSWriter.html#COSWriter-java.io.OutputStream-
 still has this comment:

Parameters:
outputStream - The output stream to write the PDF. It will be closed when
this object is closed.

However, org.apache.pdfbox.pdfwriter.COSWriter no longer has a close()
method.

Could you please clarify?

Thank you!

Reply via email to