Hi,

This was changed because of
https://issues.apache.org/jira/browse/PDFBOX-4241
in
https://issues.apache.org/jira/browse/PDFBOX-4321

obviously the javadoc is outdated, I'll fix it.

Tilman

On 23.05.2025 10:43, Jan Luehe wrote:
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!



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to