]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix compile on java 17
authorSimon Steiner <ssteiner@apache.org>
Tue, 14 Sep 2021 15:46:10 +0000 (15:46 +0000)
committerSimon Steiner <ssteiner@apache.org>
Tue, 14 Sep 2021 15:46:10 +0000 (15:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1893338 13f79535-47bb-0310-9956-ffa450edef68

fop-core/src/main/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java
pom.xml

index f3407b749dcc7f409d143d80053a1ee8d3e51223..bb3ce4fbb396de932ca9a7629ba81391e8b26729 100644 (file)
@@ -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 8c129cfa307443bd62d23dc4f4a214621cea8c68..184af41fcc3d49421913697c8a4cec0d7a5672bf 100644 (file)
--- 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>