/[Apache-SVN]/cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/AbstractParentProcessingNodeBuilder.java
ViewVC logotype

Diff of /cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/AbstractParentProcessingNodeBuilder.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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;
     }

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26