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/java/org/apache/antlib/build SleepTask.java
Date Mon, 18 Feb 2002 08:28:22 GMT
donaldp     02/02/18 00:28:22

  Modified:    proposal/myrmidon/src/java/org/apache/antlib/build
                        SleepTask.java
  Log:
  Dont access static method through instance
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/build/SleepTask.java
  
  Index: SleepTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/build/SleepTask.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SleepTask.java	14 Feb 2002 11:21:58 -0000	1.2
  +++ SleepTask.java	18 Feb 2002 08:28:22 -0000	1.3
  @@ -17,7 +17,7 @@
    *
    * @ant:task name="sleep"
    * @author steve_l@iseran.com steve loughran
  - * @version $Revision: 1.2 $ $Date: 2002/02/14 11:21:58 $
  + * @version $Revision: 1.3 $ $Date: 2002/02/18 08:28:22 $
    */
   public class SleepTask
       extends AbstractTask
  @@ -71,7 +71,7 @@
       {
           try
           {
  -            Thread.currentThread().sleep( millis );
  +            Thread.sleep( millis );
           }
           catch( InterruptedException ie )
           {
  
  
  

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