ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/email EmailTask.java
Date Mon, 17 Jun 2002 10:02:48 GMT
bodewig     2002/06/17 03:02:47

  Modified:    src/main/org/apache/tools/ant/taskdefs/email Tag:
                        ANT_15_BRANCH EmailTask.java
  Log:
  Another possible NPE in mail task.
  
  Submitted by:	Rob Oxspring <roxspring@imapmail.org>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.12.2.2  +2 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
  
  Index: EmailTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java,v
  retrieving revision 1.12.2.1
  retrieving revision 1.12.2.2
  diff -u -r1.12.2.1 -r1.12.2.2
  --- EmailTask.java	6 Jun 2002 05:39:41 -0000	1.12.2.1
  +++ EmailTask.java	17 Jun 2002 10:02:46 -0000	1.12.2.2
  @@ -75,7 +75,7 @@
    * @author steve_l@iseran.com steve loughran
    * @author ehatcher@apache.org Erik Hatcher
    * @author paulo.gaspar@krankikom.de Paulo Gaspar
  - * @author roxspring@yahoo.com Rob Oxspring
  + * @author roxspring@imapmail.org Rob Oxspring
    * @since Ant 1.5
    * @ant.task name="mail" category="network"
    */
  @@ -445,6 +445,7 @@
               // a valid message is required
               if (message == null) {
                   message = new Message();
  +                message.setProject(getProject());
               }
   
               // an address to send from is required
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message