ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types Description.java
Date Fri, 27 May 2005 20:29:55 GMT
mbenson     2005/05/27 13:29:55

  Modified:    src/main/org/apache/tools/ant/types Description.java
  Log:
  Replace properties in description elements
  
  Revision  Changes    Path
  1.22      +2 -2      ant/src/main/org/apache/tools/ant/types/Description.java
  
  Index: Description.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/Description.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Description.java	9 Mar 2005 00:20:42 -0000	1.21
  +++ Description.java	27 May 2005 20:29:55 -0000	1.22
  @@ -99,9 +99,9 @@
                   continue;
               }
               UnknownElement ue = ((UnknownElement) task);
  -            StringBuffer descComp = ue.getWrapper().getText();
  +            String descComp = ue.getWrapper().getText().toString();
               if (descComp != null) {
  -                description.append((Object) descComp);
  +                description.append(project.replaceProperties(descComp));
               }
           }
       }
  
  
  

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


Mime
View raw message