Skip to content

Commit

Permalink
Fix getAnnotations for PDPage
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Feb 25, 2025
1 parent 347ae53 commit 7adff6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/org/verapdf/pd/PDPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,6 @@ public List<PDAnnotation> getAnnotations() {
}
}
return Collections.unmodifiableList(res);
} else if (annots.empty()) {
annots = COSArray.construct();
this.setKey(ASAtom.ANNOTS, annots);
}
return Collections.emptyList();
}
Expand Down

0 comments on commit 7adff6a

Please sign in to comment.