Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 86268 invoked from network); 14 Mar 2005 18:12:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Mar 2005 18:12:25 -0000 Received: (qmail 78620 invoked by uid 500); 14 Mar 2005 18:12:24 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 78433 invoked by uid 500); 14 Mar 2005 18:12:23 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 78419 invoked by uid 500); 14 Mar 2005 18:12:23 -0000 Received: (qmail 78413 invoked by uid 99); 14 Mar 2005 18:12:23 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 14 Mar 2005 10:12:23 -0800 Received: (qmail 86246 invoked by uid 1539); 14 Mar 2005 18:12:21 -0000 Date: 14 Mar 2005 18:12:21 -0000 Message-ID: <20050314181221.86245.qmail@minotaur.apache.org> From: peterreilly@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/sound AntSoundPlayer.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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