ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/sound AntSoundPlayer.java
Date Mon, 14 Mar 2005 18:12:21 GMT
peterreilly    2005/03/14 10:12:21

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/sound
                        AntSoundPlayer.java
  Log:
  javadoc
  
  Revision  Changes    Path
  1.20      +6 -2      ant/src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java
  
  Index: AntSoundPlayer.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- AntSoundPlayer.java	9 Mar 2005 00:20:42 -0000	1.19
  +++ AntSoundPlayer.java	14 Mar 2005 18:12:21 -0000	1.20
  @@ -56,8 +56,8 @@
       private int loopsFail = 0;
       private Long durationFail = null;
   
  +    /** Constructor for AntSoundPlayer. */
       public AntSoundPlayer() {
  -
       }
   
       /**
  @@ -139,6 +139,7 @@
   
           clip.loop(loops);
           while (clip.isRunning()) {
  +            // Empty block
           }
       }
   
  @@ -147,12 +148,14 @@
           try {
               Thread.sleep(duration);
           } catch (InterruptedException e) {
  +            // Ignore Exception
           }
       }
   
       /**
        * This is implemented to listen for any line events and closes the
        * clip if required.
  +     * @param event the line event to follow
        */
       public void update(LineEvent event) {
           if (event.getType().equals(LineEvent.Type.STOP)) {
  @@ -171,6 +174,7 @@
   
       /**
        *  Fired before any targets are started.
  +     * @param event ignored
        */
       public void buildStarted(BuildEvent event) {
       }
  @@ -226,7 +230,7 @@
   
       /**
        *  Fired whenever a message is logged.
  -     *
  +     *  @param event the build event
        *  @see BuildEvent#getMessage()
        *  @see BuildEvent#getPriority()
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message