aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2007-12-13 18:52:48 +0000
committerVincent Hennebert <vhennebert@apache.org>2007-12-13 18:52:48 +0000
commit757fdc23d3f01bd940dc13cb1920ac2daf40a56c (patch)
tree6d58541c47aea6ed77b90e3fd29fa66a24fa0e7c
parent7ed67aba5bec4a02c3a9ef237e42d6a3d6136808 (diff)
downloadxmlgraphics-fop-757fdc23d3f01bd940dc13cb1920ac2daf40a56c.tar.gz
xmlgraphics-fop-757fdc23d3f01bd940dc13cb1920ac2daf40a56c.zip
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
-rw-r--r--src/java/org/apache/fop/fo/flow/table/BorderResolver.java4
-rw-r--r--src/java/org/apache/fop/fo/flow/table/CollapsingBorderResolver.java2
-rw-r--r--src/java/org/apache/fop/fo/flow/table/FixedColRowGroupBuilder.java2
-rw-r--r--src/java/org/apache/fop/fo/flow/table/SeparateBorderResolver.java2
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} */