diff options
author | Glen Mazza <gmazza@apache.org> | 2004-08-29 21:09:36 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-08-29 21:09:36 +0000 |
commit | 2186523fc29da3040d15d6165b199bd98375295a (patch) | |
tree | 1a4243aa203189f4587370b9a5b205e2df6b6c6a /src/java/org/apache/fop/fo/pagination/Region.java | |
parent | 4107ab60306b456319faaafdff72048816d9154c (diff) | |
download | xmlgraphics-fop-2186523fc29da3040d15d6165b199bd98375295a.tar.gz xmlgraphics-fop-2186523fc29da3040d15d6165b199bd98375295a.zip |
PR:
Obtained from:
Submitted by:
Reviewed by:
Simplified the region constructors.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197897 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/Region.java')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/Region.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Region.java b/src/java/org/apache/fop/fo/pagination/Region.java index c392aa7b6..974c71cf8 100644 --- a/src/java/org/apache/fop/fo/pagination/Region.java +++ b/src/java/org/apache/fop/fo/pagination/Region.java @@ -36,7 +36,6 @@ import org.apache.fop.fo.FObj; public abstract class Region extends FObj { private SimplePageMaster layoutMaster; - private int regionId = -1; private String regionName; /** Holds the overflow attribute */ @@ -49,9 +48,8 @@ public abstract class Region extends FObj { /** * @see org.apache.fop.fo.FONode#FONode(FONode) */ - protected Region(FONode parent, int id) { + protected Region(FONode parent) { super(parent); - regionId = id; } /** @@ -156,7 +154,7 @@ public abstract class Region extends FObj { /** * Returns a sibling region for this region. - * @param regionClass the class of the requested region + * @param regionId the Constants ID of the FO representing the region * @return the requested region */ protected Region getSiblingRegion(int regionId) { |