cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject [C2.1] JaxenProcessorImpl.java minor patch
Date Tue, 09 Oct 2001 21:45:09 GMT
The following patch eliminates some compile time errors I have with
JaxenProcessorImpl.

diff -ruN -x *CVS* -x *build* -x *ChangeLog* -x *README.hp* -I \$Id:.*\$ -I \$Revision:.*\$
-I \$Author:.*\$ xml-cocoon2/src/org/apache/cocoon/components/xpath/JaxenProcessorImpl.java
Cocoon2/src/org/apache/cocoon/components/xpath/JaxenProcessorImpl.java
--- xml-cocoon2/src/org/apache/cocoon/components/xpath/JaxenProcessorImpl.java	Wed Sep 19
12:37:55 2001
+++ Cocoon2/src/org/apache/cocoon/components/xpath/JaxenProcessorImpl.java	Fri Oct  5 14:08:38
2001
@@ -49,8 +49,8 @@
             XPath path = new XPath(str);
             return (Node)path.selectSingleNode((Object)contextNode);
         } catch (Exception e){
-            return null;
         }
+        return null;
     }
 
       /**
@@ -68,8 +68,8 @@
             List list = path.selectNodes((Object)contextNode);
             return new NodeListEx(list);
         } catch (Exception e){
-            return new NodeListEx();
         }
+        return new NodeListEx();
     }
 
     class NodeListEx implements NodeList{


Greetings,
-- 
Ovidiu Predescu <ovidiu@cup.hp.com>
http://orion.rgv.hp.com/ (inside HP's firewall only)
http://sourceforge.net/users/ovidiu/ (my SourceForge page)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message