ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs ExecuteWatchdog.java
Date Tue, 13 Aug 2002 18:33:54 GMT
sbailliez    2002/08/13 11:33:54

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH
                        ExecuteWatchdog.java
  Log:
  Revive int constructor for 1.4 compatibility
  PR: 11207
  Reported by: martin.brehovsky@sun.com (Martin Brehovsky)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.10.2.1  +10 -1     jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecuteWatchdog.java
  
  Index: ExecuteWatchdog.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecuteWatchdog.java,v
  retrieving revision 1.10
  retrieving revision 1.10.2.1
  diff -u -r1.10 -r1.10.2.1
  --- ExecuteWatchdog.java	15 Apr 2002 15:33:08 -0000	1.10
  +++ ExecuteWatchdog.java	13 Aug 2002 18:33:54 -0000	1.10.2.1
  @@ -72,7 +72,7 @@
    * </pre>
    
    * @author thomas.haas@softwired-inc.com
  - * @author <a href="mailto:sbailliez@imediation.com">Stephane Bailliez</a>
  + * @author <a href="mailto:sbailliez_at_apache.org">Stephane Bailliez</a>
    * @see Execute
    * @see org.apache.tools.ant.util.Watchdog
    * @since Ant 1.2
  @@ -103,6 +103,15 @@
       public ExecuteWatchdog(long timeout) {
           watchdog = new Watchdog(timeout);
           watchdog.addTimeoutObserver(this);
  +    }
  +
  +    /**
  +     * @see #ExecuteWatchdog(long)
  +     * @deprecated Use constructor with a long type instead.
  +     * (1.4.x compatibility)
  +     */
  +    public ExecuteWatchdog(int timeout) {
  +        this((long)timeout);
       }
   
       /**
  
  
  

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