From 757fdc23d3f01bd940dc13cb1920ac2daf40a56c Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Thu, 13 Dec 2007 18:52:48 +0000 Subject: [PATCH] Removed parameter from the endPart method, since the part is already passed as a parameter of the previously called startPart method git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@603975 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/flow/table/BorderResolver.java | 4 +--- .../apache/fop/fo/flow/table/CollapsingBorderResolver.java | 2 +- .../org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java | 2 +- .../org/apache/fop/fo/flow/table/SeparateBorderResolver.java | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/java/org/apache/fop/fo/flow/table/BorderResolver.java b/src/java/org/apache/fop/fo/flow/table/BorderResolver.java index 0a8f3d39e..5322b08d3 100644 --- a/src/java/org/apache/fop/fo/flow/table/BorderResolver.java +++ b/src/java/org/apache/fop/fo/flow/table/BorderResolver.java @@ -44,10 +44,8 @@ interface BorderResolver { /** * Receives notification of the end of a table-header/footer/body. - * - * @param part the part that has ended */ - void endPart(TableBody part); + void endPart(); /** * Receives notification of the end of the table. diff --git a/src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java b/src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java index f59019b92..16fc55cfc 100644 --- a/src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java +++ b/src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java @@ -393,7 +393,7 @@ class CollapsingBorderResolver implements BorderResolver { } /** {@inheritDoc} */ - public void endPart(TableBody part) { + public void endPart() { delegate.endPart(); } diff --git a/src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java b/src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java index a5c0b1b8b..f87ed47f3 100644 --- a/src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java +++ b/src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java @@ -170,7 +170,7 @@ class FixedColRowGroupBuilder extends RowGroupBuilder { "A table-cell is spanning more rows than available in its parent element."); } setFlagForCols(GridUnit.LAST_IN_PART, lastRow); - borderResolver.endPart(tableBody); + borderResolver.endPart(); inFooter = false; } diff --git a/src/java/org/apache/fop/fo/flow/table/SeparateBorderResolver.java b/src/java/org/apache/fop/fo/flow/table/SeparateBorderResolver.java index 37e3cb6e8..c6d46ecf5 100644 --- a/src/java/org/apache/fop/fo/flow/table/SeparateBorderResolver.java +++ b/src/java/org/apache/fop/fo/flow/table/SeparateBorderResolver.java @@ -35,7 +35,7 @@ class SeparateBorderResolver implements BorderResolver { } /** {@inheritDoc} */ - public void endPart(TableBody part) { + public void endPart() { } /** {@inheritDoc} */ -- 2.39.5