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 2020/02/01 12:31:52 UTC

svn commit: r1873472 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java

Author: tilman
Date: Sat Feb  1 12:31:52 2020
New Revision: 1873472

URL: http://svn.apache.org/viewvc?rev=1873472&view=rev
Log:
PDFBOX-4738: improve javadoc

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

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java?rev=1873472&r1=1873471&r2=1873472&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java Sat Feb  1 12:31:52 2020
@@ -28,6 +28,7 @@ import org.apache.commons.logging.LogFac
 
 import org.apache.pdfbox.io.IOUtils;
 import org.apache.pdfbox.io.ScratchFile;
+import org.apache.pdfbox.multipdf.Splitter;
 import org.apache.pdfbox.pdfparser.PDFObjectStreamParser;
 import org.apache.pdfbox.pdmodel.PDDocument;
 
@@ -385,7 +386,8 @@ public class COSDocument extends COSBase
 
     /**
      * This will get a list of all available objects. This method works only for loaded PDFs. It
-     * will return an empty list for PDFs created from scratch. This method will be removed in 3.0.
+     * will return an empty list for PDFs created from scratch (this includes PDFs generated within
+     * PDFBox, e.g. by {@link Splitter}). This method will be removed in 3.0.
      *
      * @return A list of all objects, never null.
      */