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/optional/sound AntSoundPlayer.java
Date Sat, 26 Jan 2002 20:38:13 GMT
sbailliez    02/01/26 12:38:13

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/sound
                        AntSoundPlayer.java
  Log:
  Remove unused variable
  
  Revision  Changes    Path
  1.7       +2 -4      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java
  
  Index: AntSoundPlayer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AntSoundPlayer.java	10 Jan 2002 13:59:39 -0000	1.6
  +++ AntSoundPlayer.java	26 Jan 2002 20:38:13 -0000	1.7
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2000-2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 2000-2002 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -87,7 +87,7 @@
    * I have only tested this with .WAV and .AIFF sound file formats. Both seem to work fine.
    *
    * @author Nick Pellow
  - * @version $Revision: 1.6 $, $Date: 2002/01/10 13:59:39 $
  + * @version $Revision: 1.7 $, $Date: 2002/01/26 20:38:13 $
    */
   
   public class AntSoundPlayer implements LineListener, BuildListener {
  @@ -185,8 +185,6 @@
       }
   
       private void playClip(Clip clip, long duration) {
  -
  -        long currentTime = System.currentTimeMillis();
           clip.loop(Clip.LOOP_CONTINUOUSLY);
           try {
               Thread.sleep(duration);
  
  
  

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