ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/net TelnetTask.java
Date Sun, 30 Dec 2001 00:38:44 GMT
donaldp     01/12/29 16:38:44

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs
                        Echo.java Input.java Replace.java SQLExec.java
               proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc
                        GroupArgument.java Html.java Javadoc.java
               proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional
                        Script.java
               proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/net
                        TelnetTask.java
  Log:
  addText() --> addContent()
  
  Revision  Changes    Path
  1.10      +1 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Echo.java
  
  Index: Echo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Echo.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Echo.java	30 Dec 2001 00:33:53 -0000	1.9
  +++ Echo.java	30 Dec 2001 00:38:44 -0000	1.10
  @@ -60,7 +60,7 @@
        *
        * @param msg The feature to be added to the Text attribute
        */
  -    public void addText( final String message )
  +    public void addContent( final String message )
           throws TaskException
       {
           m_message = message;
  
  
  
  1.10      +1 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Input.java
  
  Index: Input.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Input.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Input.java	23 Dec 2001 14:21:50 -0000	1.9
  +++ Input.java	30 Dec 2001 00:38:44 -0000	1.10
  @@ -85,7 +85,7 @@
        *
        * @param msg The feature to be added to the Text attribute
        */
  -    public void addText( String msg )
  +    public void addContent( String msg )
           throws TaskException
       {
           message += getProject().replaceProperties( msg );
  
  
  
  1.10      +3 -3      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Replace.java
  
  Index: Replace.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Replace.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Replace.java	23 Dec 2001 14:21:50 -0000	1.9
  +++ Replace.java	30 Dec 2001 00:38:44 -0000	1.10
  @@ -114,7 +114,7 @@
        */
       public void setToken( String token )
       {
  -        createReplaceToken().addText( token );
  +        createReplaceToken().addContent( token );
       }
   
       /**
  @@ -124,7 +124,7 @@
        */
       public void setValue( String value )
       {
  -        createReplaceValue().addText( value );
  +        createReplaceValue().addContent( value );
       }
   
       public Properties getProperties( File propertyFile )
  @@ -485,7 +485,7 @@
               return buf.toString();
           }
   
  -        public void addText( String val )
  +        public void addContent( String val )
           {
               buf.append( val );
           }
  
  
  
  1.13      +3 -3      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/SQLExec.java
  
  Index: SQLExec.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/SQLExec.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- SQLExec.java	30 Dec 2001 00:21:51 -0000	1.12
  +++ SQLExec.java	30 Dec 2001 00:38:44 -0000	1.13
  @@ -354,7 +354,7 @@
        *
        * @param sql The feature to be added to the Text attribute
        */
  -    public void addText( String sql )
  +    public void addContent( String sql )
       {
           this.sqlCommand += sql;
       }
  @@ -425,7 +425,7 @@
               // Make a transaction group for the outer command
               Transaction t = createTransaction();
               t.setSrc( srcFile );
  -            t.addText( sqlCommand );
  +            t.addContent( sqlCommand );
           }
   
           if( driver == null )
  @@ -839,7 +839,7 @@
               this.tSrcFile = src;
           }
   
  -        public void addText( String sql )
  +        public void addContent( String sql )
           {
               this.tSqlCommand += sql;
           }
  
  
  
  1.2       +1 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc/GroupArgument.java
  
  Index: GroupArgument.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc/GroupArgument.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GroupArgument.java	23 Dec 2001 07:06:42 -0000	1.1
  +++ GroupArgument.java	30 Dec 2001 00:38:44 -0000	1.2
  @@ -30,7 +30,7 @@
       public void setTitle( final String src )
       {
           final Html h = new Html();
  -        h.addText( src );
  +        h.addContent( src );
           addTitle( h );
       }
   
  
  
  
  1.2       +1 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc/Html.java
  
  Index: Html.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc/Html.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Html.java	23 Dec 2001 06:55:55 -0000	1.1
  +++ Html.java	30 Dec 2001 00:38:44 -0000	1.2
  @@ -16,7 +16,7 @@
           return m_text.toString();
       }
   
  -    public void addText( final String text )
  +    public void addContent( final String text )
       {
           m_text.append( text );
       }
  
  
  
  1.5       +4 -4      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc/Javadoc.java
  
  Index: Javadoc.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/javadoc/Javadoc.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Javadoc.java	30 Dec 2001 00:00:20 -0000	1.4
  +++ Javadoc.java	30 Dec 2001 00:38:44 -0000	1.5
  @@ -130,7 +130,7 @@
       public void setBottom( String src )
       {
           Html h = new Html();
  -        h.addText( src );
  +        h.addContent( src );
           addBottom( h );
       }
   
  @@ -219,7 +219,7 @@
       public void setDoctitle( String src )
       {
           Html h = new Html();
  -        h.addText( src );
  +        h.addContent( src );
           addDoctitle( h );
       }
   
  @@ -250,7 +250,7 @@
       public void setFooter( String src )
       {
           Html h = new Html();
  -        h.addText( src );
  +        h.addContent( src );
           addFooter( h );
       }
   
  @@ -262,7 +262,7 @@
       public void setHeader( String src )
       {
           Html h = new Html();
  -        h.addText( src );
  +        h.addContent( src );
           addHeader( h );
       }
   
  
  
  
  1.10      +1 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/Script.java
  
  Index: Script.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/Script.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Script.java	23 Dec 2001 06:31:14 -0000	1.9
  +++ Script.java	30 Dec 2001 00:38:44 -0000	1.10
  @@ -71,7 +71,7 @@
        *
        * @param text The feature to be added to the Text attribute
        */
  -    public void addText( String text )
  +    public void addContent( String text )
       {
           this.script += text;
       }
  
  
  
  1.8       +2 -2      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java
  
  Index: TelnetTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TelnetTask.java	23 Dec 2001 14:22:47 -0000	1.7
  +++ TelnetTask.java	30 Dec 2001 00:38:44 -0000	1.8
  @@ -21,7 +21,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.7 $
  + * @version $Revision: 1.8 $
    */
   
   public class TelnetTask extends Task
  @@ -369,7 +369,7 @@
               taskString += s;
           }
   
  -        public void addText( String s )
  +        public void addContent( String s )
           {
               setString( s );
           }
  
  
  

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