Diff of /cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/AbstractParentProcessingNodeBuilder.java
Parent Directory
| Revision Log
| Patch
--- cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/AbstractParentProcessingNodeBuilder.java 2005/04/29 09:09:44 165283
+++ cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/AbstractParentProcessingNodeBuilder.java 2005/04/29 09:24:28 165284
@@ -94,10 +94,9 @@ public abstract class AbstractParentProc
if (name.equals("parameter")) {
if (this.hasParameters()) {
return true;
- } else {
- String msg = "Element '" + name + "' has no parameters at " + config.getLocation();
- throw new ConfigurationException(msg);
}
+ String msg = "Element '" + name + "' has no parameters at " + config.getLocation();
+ throw new ConfigurationException(msg);
}
return false;
}