Skip to content

Commit

Permalink
PDFBOX-5660: remove unneeded cast
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1918902 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Jul 4, 2024
1 parent f47a5d6 commit 2b20d5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ void testSinglePageSplit() throws IOException
{
PDAnnotationLink link = (PDAnnotationLink) ann;
PDActionGoTo action = (PDActionGoTo) link.getAction();
PDPageDestination destination = (PDPageDestination) ((PDActionGoTo) action).getDestination();
PDPageDestination destination = (PDPageDestination) action.getDestination();
assertNull(destination.getPage());
}
}
Expand Down

0 comments on commit 2b20d5f

Please sign in to comment.