conor 02/03/05 15:31:36
Modified: src/main/org/apache/tools/ant Task.java
Log:
Minor style fixes for Task class
Revision Changes Path
1.26 +9 -5 jakarta-ant/src/main/org/apache/tools/ant/Task.java
Index: Task.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Task.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -w -u -r1.25 -r1.26
--- Task.java 1 Mar 2002 14:47:56 -0000 1.25
+++ Task.java 5 Mar 2002 23:31:36 -0000 1.26
@@ -62,7 +62,6 @@
*
* @see Project#createTask
*/
-
public abstract class Task extends ProjectComponent {
/** Target this task belongs to, if any. */
protected Target target = null;
@@ -176,7 +175,8 @@
/**
* Called by the project to let the task do its work. This method may be
- * called more than once, if the task is invoked more than once. For
example,
+ * called more than once, if the task is invoked more than once.
+ * For example,
* if target1 and target2 both depend on target3, then running
* "ant target1 target2" will run all tasks in target3 twice.
*
@@ -244,6 +244,8 @@
* Configures this task - if it hasn't been done already.
* If the task has been invalidated, it is replaced with an
* UnknownElement task which uses the new definition in the project.
+ *
+ * @exception BuildException if the task cannot be configured.
*/
public void maybeConfigure() throws BuildException {
if (!invalid) {
@@ -345,6 +347,8 @@
* Creates an UnknownElement that can be used to replace this task.
* Once this has been created once, it is cached and returned by
* future calls.
+ *
+ * @return the UnknownElement instance for the new definition of this
task.
*/
private UnknownElement getReplacement() {
if (replacement == null) {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>