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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MatchNode.java	2005/04/29 09:09:44	165283
+++ cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MatchNode.java	2005/04/29 09:24:28	165284
@@ -29,7 +29,7 @@ import org.apache.cocoon.sitemap.Pattern
 /**
  *
  * @author <a href="mailto:sylvain@apache.org">Sylvain Wallez</a>
- * @version CVS $Id: MatchNode.java,v 1.6 2004/07/16 12:36:45 sylvain Exp $
+ * @version CVS $Id$
  */
 
 public class MatchNode extends SimpleSelectorProcessingNode
@@ -85,9 +85,8 @@ public class MatchNode extends SimpleSel
 
             // Invoke children with the matcher results
             return this.invokeNodes(children, env, context, name, result);
-        } else {
-            // Matcher failed
-            return false;
         }
+        // Matcher failed
+        return false;
     }
 }

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26