ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/net TelnetTask.java
Date Fri, 05 Apr 2002 03:20:18 GMT
conor       02/04/04 19:20:17

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/net
                        TelnetTask.java
  Log:
  iJDK 1.1 has trouble with inner class variable access - use method instead
  
  Revision  Changes    Path
  1.10      +2 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java
  
  Index: TelnetTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -w -u -r1.9 -r1.10
  --- TelnetTask.java	19 Mar 2002 07:02:11 -0000	1.9
  +++ TelnetTask.java	5 Apr 2002 03:20:17 -0000	1.10
  @@ -70,7 +70,7 @@
    * Class to provide automated telnet protocol support for the Ant build tool
    *
    * @author <a href="mailto:ScottCarlson@email.com">ScottCarlson@email.com</a>
  - * @version $Revision: 1.9 $
  + * @version $Revision: 1.10 $
    */
   
   public class TelnetTask extends Task {
  @@ -250,7 +250,7 @@
            *  nested text elements need their properties explicitly expanded
            */
           public void addText(String s) {
  -            setString(project.replaceProperties(s));
  +            setString(getProject().replaceProperties(s));
           }
           /**
            * attribute assignment of properties
  
  
  

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