diff options
author | Finn Bock <bckfnn@apache.org> | 2004-10-19 13:45:38 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-10-19 13:45:38 +0000 |
commit | c34e500124d950dac4d5deb7fe435b6e4c2c4613 (patch) | |
tree | af79d410e72159248722c056ecc695fb3abf4caa /src/java/org/apache/fop/fo/pagination/SimplePageMaster.java | |
parent | 732269867ee965ab81e1f56c86b9cc0c6586e31c (diff) | |
download | xmlgraphics-fop-c34e500124d950dac4d5deb7fe435b6e4c2c4613.tar.gz xmlgraphics-fop-c34e500124d950dac4d5deb7fe435b6e4c2c4613.zip |
Second phase of performance improvement.
- Removed addProperties() method and misc old property fields.
PR: 31699
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198065 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/SimplePageMaster.java')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/SimplePageMaster.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java b/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java index 122f0866d..8f39e759c 100644 --- a/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java +++ b/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java @@ -24,7 +24,6 @@ import java.util.Iterator; import java.util.Map; // XML -import org.xml.sax.Attributes; import org.xml.sax.Locator; import org.xml.sax.SAXParseException; @@ -110,24 +109,6 @@ public class SimplePageMaster extends FObj { } /** - * @see org.apache.fop.fo.FObj#addProperties - */ - protected void addProperties(Attributes attlist) throws SAXParseException { - super.addProperties(attlist); - - LayoutMasterSet layoutMasterSet = (LayoutMasterSet) parent; - - if (getPropString(PR_MASTER_NAME) == null) { - missingPropertyError("master-name"); - } else { - layoutMasterSet.addSimplePageMaster(this); - } - - //Well, there are only 5 regions so we can save a bit of memory here - regions = new HashMap(5); - } - - /** * @see org.apache.fop.fo.FONode#validateChildNode(Locator, String, String) * XSL Content Model: (region-body,region-before?,region-after?,region-start?,region-end?) */ |