From 5535c8a658bf72467f9bd07f7c5e7cd484599e37 Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Tue, 14 Sep 2021 15:46:10 +0000 Subject: [PATCH] Fix compile on java 17 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1893338 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/fop/layoutmgr/table/TableLayoutManager.java | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5