Skip to content

Commit 84f313e

Browse files
committed
PDFBOX-6206: remove unneeded throws
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1934691 13f79535-47bb-0310-9956-ffa450edef68
1 parent e156c33 commit 84f313e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • pdfbox/src/main/java/org/apache/pdfbox/pdmodel

‎pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPage.java‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,10 +789,8 @@ public List<PDAnnotation> getAnnotations() throws IOException
789789
* @param annotationFilter the annotation filter provided allowing to filter out specific annotations
790790
* @return List of the PDAnnotation objects, never null. The returned list is backed by the
791791
* annotations COSArray, so any adding or deleting in this list will change the document too.
792-
*
793-
* @throws IOException If there is an error while creating the annotation list.
794792
*/
795-
public List<PDAnnotation> getAnnotations(AnnotationFilter annotationFilter) throws IOException
793+
public List<PDAnnotation> getAnnotations(AnnotationFilter annotationFilter)
796794
{
797795
COSArray annots = page.getCOSArray(COSName.ANNOTS);
798796
if (annots == null)

0 commit comments

Comments
 (0)