Diff of /cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/sitemap/ActNodeBuilder.java
Parent Directory
| Revision Log
| Patch
--- cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/sitemap/ActNodeBuilder.java 2005/04/29 09:09:44 165283
+++ cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/sitemap/ActNodeBuilder.java 2005/04/29 09:24:28 165284
@@ -28,7 +28,7 @@ import org.apache.cocoon.components.tree
/**
*
* @author <a href="mailto:sylvain@apache.org">Sylvain Wallez</a>
- * @version CVS $Id: ActNodeBuilder.java,v 1.6 2004/07/15 12:49:50 sylvain Exp $
+ * @version CVS $Id$
*/
public class ActNodeBuilder extends AbstractParentProcessingNodeBuilder
implements LinkedProcessingNodeBuilder {
@@ -72,23 +72,22 @@ public class ActNodeBuilder extends Abst
return actTypeNode;
- } else {
+ }
- if (inActionSet) {
- throw new ConfigurationException("Cannot call an action set from an action set at " + config.getLocation());
- }
+ if (inActionSet) {
+ throw new ConfigurationException("Cannot call an action set from an action set at " + config.getLocation());
+ }
- // Action set call
- if (config.getAttribute("src", null) != null) {
- getLogger().warn("The 'src' attribute is ignored for action-set call at " + config.getLocation());
- }
- this.actSetNode = new ActSetNode();
- this.treeBuilder.setupNode(this.actSetNode, config);
+ // Action set call
+ if (config.getAttribute("src", null) != null) {
+ getLogger().warn("The 'src' attribute is ignored for action-set call at " + config.getLocation());
+ }
+ this.actSetNode = new ActSetNode();
+ this.treeBuilder.setupNode(this.actSetNode, config);
- this.actSetNode.setChildren(buildChildNodes(config));
+ this.actSetNode.setChildren(buildChildNodes(config));
- return this.actSetNode;
- }
+ return this.actSetNode;
}
public void linkNode() throws Exception {