Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 47878 invoked from network); 25 Jan 2005 15:46:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jan 2005 15:46:52 -0000 Received: (qmail 27016 invoked by uid 500); 25 Jan 2005 15:46:49 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 26959 invoked by uid 500); 25 Jan 2005 15:46:49 -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 26945 invoked by uid 500); 25 Jan 2005 15:46:48 -0000 Received: (qmail 26941 invoked by uid 99); 25 Jan 2005 15:46:48 -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; Tue, 25 Jan 2005 07:46:48 -0800 Received: (qmail 47828 invoked by uid 1539); 25 Jan 2005 15:46:47 -0000 Date: 25 Jan 2005 15:46:47 -0000 Message-ID: <20050125154647.47827.qmail@minotaur.apache.org> From: peterreilly@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/input PropertyFileInputHandler.java InputRequest.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N peterreilly 2005/01/25 07:46:47 Modified: src/main/org/apache/tools/ant/input PropertyFileInputHandler.java InputRequest.java Log: javadoc Revision Changes Path 1.11 +3 -2 ant/src/main/org/apache/tools/ant/input/PropertyFileInputHandler.java Index: PropertyFileInputHandler.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/input/PropertyFileInputHandler.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- PropertyFileInputHandler.java 9 Mar 2004 16:48:03 -0000 1.10 +++ PropertyFileInputHandler.java 25 Jan 2005 15:46:47 -0000 1.11 @@ -1,5 +1,5 @@ /* - * Copyright 2002,2004 The Apache Software Foundation + * Copyright 2002,2004-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,6 +46,7 @@ /** * Picks up the input from a property, using the prompt as the * name of the property. + * @param request an input request. * * @exception BuildException if no property of that name can be found. */ 1.9 +7 -2 ant/src/main/org/apache/tools/ant/input/InputRequest.java Index: InputRequest.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/input/InputRequest.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- InputRequest.java 9 Mar 2004 16:48:03 -0000 1.8 +++ InputRequest.java 25 Jan 2005 15:46:47 -0000 1.9 @@ -1,5 +1,5 @@ /* - * Copyright 2002,2004 The Apache Software Foundation + * Copyright 2002,2004-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ private String input; /** + * Construct an InputRequest. * @param prompt The prompt to show to the user. Must not be null. */ public InputRequest(String prompt) { @@ -40,6 +41,7 @@ /** * Retrieves the prompt text. + * @return the prompt. */ public String getPrompt() { return prompt; @@ -47,6 +49,7 @@ /** * Sets the user provided input. + * @param input the string to be used for input. */ public void setInput(String input) { this.input = input; @@ -54,6 +57,7 @@ /** * Is the user input valid? + * @return true if it is. */ public boolean isInputValid() { return true; @@ -61,6 +65,7 @@ /** * Retrieves the user input. + * @return the user input. */ public String getInput() { return input; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org