aboutsummaryrefslogtreecommitdiffstats
path: root/fop-core
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2021-09-14 15:46:10 +0000
committerSimon Steiner <ssteiner@apache.org>2021-09-14 15:46:10 +0000
commit5535c8a658bf72467f9bd07f7c5e7cd484599e37 (patch)
tree43f840c08574b3f349aa59bede95ae58f9ed273a /fop-core
parent549c33729e32393f8225124a956cf0028e9fea1e (diff)
downloadxmlgraphics-fop-5535c8a658bf72467f9bd07f7c5e7cd484599e37.tar.gz
xmlgraphics-fop-5535c8a658bf72467f9bd07f7c5e7cd484599e37.zip
Fix compile on java 17
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1893338 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop-core')
-rw-r--r--fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java2
1 files changed, 1 insertions, 1 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;
}