ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Exit.java
Date Mon, 24 Dec 2001 08:39:07 GMT
stevel      01/12/24 00:39:07

  Modified:    src/main/org/apache/tools/ant/taskdefs Exit.java
  Log:
  PR: 5579 ;fail having uninitialized value trouble.
  
  Which goes to show: if it aint tested, it doesnt work
  
  Revision  Changes    Path
  1.9       +3 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Exit.java
  
  Index: Exit.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Exit.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Exit.java	2001/12/12 09:17:36	1.8
  +++ Exit.java	2001/12/24 08:39:07	1.9
  @@ -94,6 +94,9 @@
        * Set a multiline message.
        */
       public void addText(String msg) {
  +        if(message==null) {
  +            message="";
  +        }
           message += project.replaceProperties(msg);
       }
   
  
  
  

--
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