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 2016/09/06 19:54:15 UTC

svn commit: r1759491 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java

Author: tilman
Date: Tue Sep  6 19:54:15 2016
New Revision: 1759491

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

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

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java?rev=1759491&r1=1759490&r2=1759491&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java Tue Sep  6 19:54:15 2016
@@ -831,11 +831,12 @@ public class PDPage implements COSObject
     }
 
     /**
-     * This will return a list of the Annotations for this page.
+     * This will return a list of the annotations for this page.
      *
-     * @return List of the PDAnnotation objects.
-     *
-     * @throws IOException If there is an error while creating the annotations.
+     * @return List of the PDAnnotation objects, never null. The returned list is backed by the
+     * annotations COSArray, so any adding or deleting in this list will change the document too.
+     * 
+     * @throws IOException If there is an error while creating the annotation list.
      */
     public List<PDAnnotation> getAnnotations() throws IOException
     {