You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ovidiu Predescu <ov...@cup.hp.com> on 2001/10/09 23:45:09 UTC
[C2.1] JaxenProcessorImpl.java minor patch
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 <ov...@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
AW: [C2.1] JaxenProcessorImpl.java minor patch
Posted by Carsten Ziegeler <cz...@sundn.de>.
Hi Ovidiu,
this patch is applied - please cross-check.
By the way, which compiler did complain about this?
Carsten
> -----Ursprungliche Nachricht-----
> Von: ovidiu@orion.rgv.hp.com [mailto:ovidiu@orion.rgv.hp.com]Im Auftrag
> von Ovidiu Predescu
> Gesendet: Dienstag, 9. Oktober 2001 23:45
> An: cocoon-dev@xml.apache.org
> Betreff: [C2.1] JaxenProcessorImpl.java minor patch
>
>
> 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/JaxenProcessorI
> mpl.java
> Cocoon2/src/org/apache/cocoon/components/xpath/JaxenProcessorImpl.java
> ---
> xml-cocoon2/src/org/apache/cocoon/components/xpath/JaxenProcessorI
> mpl.java Wed Sep 19 12:37:55 2001
> +++
> Cocoon2/src/org/apache/cocoon/components/xpath/JaxenProcessorIm
> pl.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 <ov...@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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org