Author: tilman
Date: Wed May 27 15:59:35 2026
New Revision: 1934691

Log:
PDFBOX-6206: remove unneeded throws

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

Modified: 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java     
Wed May 27 15:51:53 2026        (r1934690)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java     
Wed May 27 15:59:35 2026        (r1934691)
@@ -789,10 +789,8 @@ public class PDPage implements COSObject
      * @param annotationFilter the annotation filter provided allowing to 
filter out specific 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(AnnotationFilter 
annotationFilter) throws IOException
+    public List<PDAnnotation> getAnnotations(AnnotationFilter annotationFilter)
     {
         COSArray annots = page.getCOSArray(COSName.ANNOTS);
         if (annots == null)

Reply via email to