cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/notification DefaultNotifyingBuilder.java
Date Thu, 06 Feb 2003 20:37:38 GMT
vgritsenko    2003/02/06 12:37:38

  Modified:    src/java/org/apache/cocoon/components/notification
                        DefaultNotifyingBuilder.java
  Log:
  Fix NPE reported by Pier
  
  Revision  Changes    Path
  1.13      +2 -3      xml-cocoon2/src/java/org/apache/cocoon/components/notification/DefaultNotifyingBuilder.java
  
  Index: DefaultNotifyingBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/notification/DefaultNotifyingBuilder.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DefaultNotifyingBuilder.java	2 Feb 2003 23:26:51 -0000	1.12
  +++ DefaultNotifyingBuilder.java	6 Feb 2003 20:37:37 -0000	1.13
  @@ -149,8 +149,7 @@
               SimpleNotifyingBean n = new SimpleNotifyingBean(sender);
               n.setType(Notifying.UNKNOWN_NOTIFICATION);
               n.setTitle("Object notification");
  -            n.setSource(o.getClass().getName());
  -            n.setMessage(o.toString());
  +            n.setMessage(String.valueOf(o));
               n.setDescription("No details available.");
               return n;
           }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message