aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java2
-rw-r--r--pom.xml2
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 @@
<project.info.reports.plugin.version>2.8</project.info.reports.plugin.version>
<release.plugin.version>2.5.2</release.plugin.version>
<surefire.plugin.version>2.18.1</surefire.plugin.version>
- <war.plugin.version>2.2</war.plugin.version>
+ <war.plugin.version>3.3.2</war.plugin.version>
<xml.plugin.version>1.0.1</xml.plugin.version>
<xmlgraphics.commons.version>2.6.0-SNAPSHOT</xmlgraphics.commons.version>
<xmlunit.version>1.2</xmlunit.version>