ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs ExecTask.java Java.java StreamPumper.java
Date Sun, 16 Feb 2003 23:34:21 GMT
conor       2003/02/16 15:34:21

  Modified:    src/main/org/apache/tools/ant/taskdefs ExecTask.java
                        Java.java StreamPumper.java
  Log:
  Minor edits - i.e. make it compile
  
  Revision  Changes    Path
  1.51      +5 -0      ant/src/main/org/apache/tools/ant/taskdefs/ExecTask.java
  
  Index: ExecTask.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/ExecTask.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -w -u -r1.50 -r1.51
  --- ExecTask.java	10 Feb 2003 14:13:34 -0000	1.50
  +++ ExecTask.java	16 Feb 2003 23:34:21 -0000	1.51
  @@ -166,6 +166,11 @@
           redirector.setInput(input);
       }
   
  +    /**
  +     * Set the string to use as input
  +     *
  +     * @param inputString the string which is used as the input source
  +     */
       public void setInputString(String inputString) {
           redirector.setInputString(inputString);
       }
  
  
  
  1.56      +5 -0      ant/src/main/org/apache/tools/ant/taskdefs/Java.java
  
  Index: Java.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Java.java,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -w -u -r1.55 -r1.56
  --- Java.java	10 Feb 2003 14:13:35 -0000	1.55
  +++ Java.java	16 Feb 2003 23:34:21 -0000	1.56
  @@ -308,6 +308,11 @@
           redirector.setInput(input);
       }
   
  +    /**
  +     * Set the string to use as input
  +     *
  +     * @param inputString the string which is used as the input source
  +     */
       public void setInputString(String inputString) {
           redirector.setInputString(inputString);
       }
  
  
  
  1.13      +5 -1      ant/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java
  
  Index: StreamPumper.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -w -u -r1.12 -r1.13
  --- StreamPumper.java	16 Feb 2003 14:05:42 -0000	1.12
  +++ StreamPumper.java	16 Feb 2003 23:34:21 -0000	1.13
  @@ -123,7 +123,11 @@
               // ignore errors
           } finally {
               if (closeWhenExhausted) {
  +                try {
                   os.close();
  +                } catch (IOException e) {
  +                    // ignore
  +                }
               }
               synchronized (this) {
                   finished = true;
  
  
  

Mime
View raw message