You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2021/10/09 12:09:30 UTC

svn commit: r1894062 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java

Author: tilman
Date: Sat Oct  9 12:09:30 2021
New Revision: 1894062

URL: http://svn.apache.org/viewvc?rev=1894062&view=rev
Log:
PDFBOX-4892: improve javadoc (See https://stackoverflow.com/a/69492262/535646 )

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java?rev=1894062&r1=1894061&r2=1894062&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java Sat Oct  9 12:09:30 2021
@@ -416,6 +416,14 @@ public class COSStream extends COSDictio
         return visitor.visitFromStream(this);
     }
     
+    /**
+     * {@inheritDoc}
+     *
+     * Called by PDFBox when the PDDocument is closed, this closes the stream and removes the data.
+     * You will usually not need this.
+     *
+     * @throws IOException
+     */
     @Override
     public void close() throws IOException
     {