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/03/31 07:45:48 UTC
svn commit: r1875914 -
/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java
Author: tilman
Date: Tue Mar 31 07:45:47 2020
New Revision: 1875914
URL: http://svn.apache.org/viewvc?rev=1875914&view=rev
Log:
PDFBOX-4071: improve javadoc
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java?rev=1875914&r1=1875913&r2=1875914&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java Tue Mar 31 07:45:47 2020
@@ -824,9 +824,11 @@ public abstract class PDAnnotation imple
}
/**
- * This will retrieve the corresponding page of this annotation.
- *
- * @return the corresponding page
+ * This will retrieve the corresponding page of this annotation. See also
+ * <a href="https://stackoverflow.com/a/36894982/535646">this answer</a> about what to do if
+ * the page isn't available.
+ *
+ * @return The corresponding page or null if not available.
*/
public PDPage getPage()
{