pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1759497 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java
Date Tue, 06 Sep 2016 20:01:24 GMT
Author: tilman
Date: Tue Sep  6 20:01:24 2016
New Revision: 1759497

URL: http://svn.apache.org/viewvc?rev=1759497&view=rev
Log:
PDFBOX-2852: clarify javadoc

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java?rev=1759497&r1=1759496&r2=1759497&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java Tue Sep
 6 20:01:24 2016
@@ -514,10 +514,11 @@ public class PDPage implements COSObject
     }
 
     /**
-     * This will get a list of PDThreadBead objects, which are article threads in the document.
-     * This will return an empty list if there are no thread beads.
-     * 
-     * @return A list of article threads on this page.
+     * This will get a list of PDThreadBead objects, which are article threads in the document.
This
+     * will return an empty list if there are no thread beads.
+     *
+     * @return A list of article threads on this page, never null. The returned list is backed
by
+     * the beads COSArray, so any adding or deleting in this list will change the document
too.
      */
     public List<PDThreadBead> getThreadBeads()
     {
@@ -539,7 +540,6 @@ public class PDPage implements COSObject
             pdObjects.add(bead);
         }
         return new COSArrayList<PDThreadBead>(pdObjects, beads);
-
     }
 
     /**



Mime
View raw message