Revision: 7639
Author: victormote
Date: 2006-06-15 16:29:56 -0700 (Thu, 15 Jun 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7639&view=rev
Log Message:
-----------
Remove unneeded parameter.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/LayoutMasterSet.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SimplePageMaster.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/LayoutMasterSet.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/LayoutMasterSet.java 2006-06-15 23:28:17 UTC (rev 7638)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/LayoutMasterSet.java 2006-06-15 23:29:56 UTC (rev 7639)
@@ -67,8 +67,7 @@
return "layout-master-set";
}
- protected void addSimplePageMaster(FOContext context,
- SimplePageMaster simplePageMaster)
+ protected void addSimplePageMaster(SimplePageMaster simplePageMaster)
throws FOTreeException {
// check against duplication of master-name
if (existsName(simplePageMaster.traitMasterName())) {
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SimplePageMaster.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SimplePageMaster.java 2006-06-15 23:28:17 UTC (rev 7638)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SimplePageMaster.java 2006-06-15 23:29:56 UTC (rev 7639)
@@ -58,13 +58,11 @@
}
protected void start() throws FOTreeException {
- /* TODO: Handle context better. */
- FOContext context = null;
if (traitMasterName() == null) {
logWarning("simple-page-master has no "
+ "master-name, and will be ignored.");
} else {
- getLayoutMasterSet().addSimplePageMaster(context, this);
+ getLayoutMasterSet().addSimplePageMaster(this);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|