cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.2/src/java/org/apache/cocoon/xml/dom DOMStreamer.java
Date Wed, 15 Oct 2003 16:09:35 GMT
bruno       2003/10/15 09:09:35

  Modified:    src/java/org/apache/cocoon/xml/dom DOMStreamer.java
  Log:
  Fixed a NPE (getLogger() would always return null since enableLogging() is never called)
  
  Revision  Changes    Path
  1.12      +1 -3      cocoon-2.2/src/java/org/apache/cocoon/xml/dom/DOMStreamer.java
  
  Index: DOMStreamer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/xml/dom/DOMStreamer.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DOMStreamer.java	1 Aug 2003 17:48:44 -0000	1.11
  +++ DOMStreamer.java	15 Oct 2003 16:09:35 -0000	1.12
  @@ -725,7 +725,6 @@
                   try {
                       this.transformer = factory.newTransformer();
                   } catch (TransformerConfigurationException e) {
  -                    getLogger().error("DOMStreamer", e);
                       throw new SAXException(e);
                   }
               }
  @@ -746,7 +745,6 @@
               try {
                   transformer.transform(source, result);
               } catch (TransformerException e) {
  -                getLogger().error("DOMStreamer", e);
                   throw new SAXException(e);
               }
           }
  
  
  

Mime
View raw message