cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Russell <p...@luminas.co.uk>
Subject [C2] SitemapHandler patch
Date Thu, 03 Aug 2000 18:57:48 GMT
Hi all,

There follows a patch for an aparent bug in SitemapHandler.
I'm not sure about the removal of synchronized, but I can't
see any reason for it being there ( = operator is, I hope,
atomic) and it was causing null pointer exceptions for me.

Index: src/org/apache/cocoon/sitemap/SitemapHandler.java
===================================================================
RCS file: /home/cvspublic/xml-cocoon/src/org/apache/cocoon/sitemap/Attic/SitemapHandler.java,v
retrieving revision 1.1.2.6
diff -r1.1.2.6 SitemapHandler.java
90c90
<             throw (ProcessingException) exception;
---
>             throw (ProcessingException) e;
92c92
<             throw (SAXException) exception;
---
>             throw (SAXException) e;
94c94
<             throw (IOException) exception;
---
>             throw (IOException) e;
96c96
<             throw (InterruptedException) exception;
---
>             throw (InterruptedException) e;
99c99
<                                          + exception.toString());
---
>                                          + e.toString());
171d170
<             synchronized (this.exception) {
173d171
<             }

Cheers,


Paul

-- 
Paul Russell                               <paul@luminas.co.uk>
Technical Director,                   http://www.luminas.co.uk
Luminas Ltd.

Mime
View raw message