From: Simon Steiner Date: Tue, 14 Sep 2021 15:46:10 +0000 (+0000) Subject: Fix compile on java 17 X-Git-Tag: fop-2_7~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5535c8a658bf72467f9bd07f7c5e7cd484599e37;p=xmlgraphics-fop.git Fix compile on java 17 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1893338 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java b/fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java index f3407b749..bb3ce4fbb 100644 --- a/fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java +++ b/fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java @@ -323,7 +323,7 @@ public class TableLayoutManager extends SpacedBorderedPaddedBlockLayoutManager } FONode.FONodeIterator iterator = node.getChildNodes(); while (iterator != null && iterator.hasNext()) { - FONode x = (FONode) iterator.next(); + FONode x = iterator.next(); if (!supportResize(x)) { return false; } diff --git a/pom.xml b/pom.xml index 8c129cfa3..184af41fc 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ 2.8 2.5.2 2.18.1 - 2.2 + 3.3.2 1.0.1 2.6.0-SNAPSHOT 1.2