Skip to content

Commit

Permalink
Fix getChildren in GFPDStructTreeNode
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Oct 20, 2023
1 parent db28c9b commit 18becb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private static List<String> getChildrenStandardTypes(GFPDStructTreeNode element)

public List<GFPDStructElem> getChildren() {
if (children == null) {
List<org.verapdf.pd.structure.PDStructElem> elements = ((org.verapdf.pd.structure.PDStructElem) simplePDObject).getStructChildren();
List<org.verapdf.pd.structure.PDStructElem> elements = ((org.verapdf.pd.structure.PDStructTreeNode) simplePDObject).getStructChildren();
if (!elements.isEmpty()) {
List<GFPDStructElem> res = new ArrayList<>(elements.size());
for (org.verapdf.pd.structure.PDStructElem element : elements) {
Expand Down

0 comments on commit 18becb4

Please sign in to comment.