jskeet 02/02/25 07:18:53
Modified: src/main/org/apache/tools/ant/taskdefs ConditionTask.java
Echo.java Jar.java Java.java Parallel.java
Recorder.java Sleep.java
Log:
First pass of JavaDoc work just to get rid of warnings.
When this is complete, whole source tree should JavaDoc (with 1.4)
with no warnings. (With JDK1.3.1 the 1.4-regexp stuff generates
warnings, but that's all.)
Revision Changes Path
1.5 +2 -2
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java
Index: ConditionTask.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ConditionTask.java 19 Feb 2002 16:17:25 -0000 1.4
+++ ConditionTask.java 25 Feb 2002 15:18:53 -0000 1.5
@@ -60,7 +60,7 @@
/**
* <condition> task as a generalization of <available> and
- * <uptodate>
+ * <uptodate>.
*
* <p>This task supports boolean logic as well as pluggable conditions
* to decide, whether a property should be set.</p>
@@ -69,7 +69,7 @@
* ConditionBase.</p>
*
* @author <a href="mailto:[EMAIL PROTECTED]">Stefan Bodewig</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class ConditionTask extends ConditionBase {
1.13 +1 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Echo.java
Index: Echo.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Echo.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Echo.java 20 Jan 2002 20:45:56 -0000 1.12
+++ Echo.java 25 Feb 2002 15:18:53 -0000 1.13
@@ -131,7 +131,7 @@
}
/**
- * Set the logging level to one of
+ * Set the logging level. Level should be one of
* <ul>
* <li>error</li>
* <li>warning</li>
1.35 +5 -2
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Jar.java
Index: Jar.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Jar.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- Jar.java 4 Feb 2002 04:31:42 -0000 1.34
+++ Jar.java 25 Feb 2002 15:18:53 -0000 1.35
@@ -210,11 +210,14 @@
/**
* Create the index list to speed up classloading.
- * This is a JDK 1.3+ specific feature and is enabled by default.
- * [EMAIL PROTECTED]
http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#JAR%20Index}
+ * This is a JDK 1.3+ specific feature and is enabled by default. See
+ * <a
href="http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#JAR+Index">the
+ * JAR index specification</a> for more details.
+ *
* @param zOut the zip stream representing the jar being built.
* @throws IOException thrown if there is an error while creating the
* index and adding it to the zip stream.
+ *
*/
private void createIndexList(ZipOutputStream zOut) throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
1.33 +1 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Java.java
Index: Java.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Java.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- Java.java 29 Jan 2002 16:20:20 -0000 1.32
+++ Java.java 25 Feb 2002 15:18:53 -0000 1.33
@@ -287,7 +287,7 @@
}
/**
- * Use a completely new environment
+ * Use a completely new environment.
*
* <p>Will be ignored if we are not forking a new VM.
*
1.3 +1 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Parallel.java
Index: Parallel.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Parallel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Parallel.java 28 Oct 2001 21:26:29 -0000 1.2
+++ Parallel.java 25 Feb 2002 15:18:53 -0000 1.3
@@ -154,7 +154,7 @@
private int taskNumber;
/**
- * Construct a new TaskThread<p>
+ * Construct a new TaskThread.<p>
*
* @param task the Task to be executed in a seperate thread
*/
1.7 +1 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Recorder.java
Index: Recorder.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Recorder.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Recorder.java 26 Jan 2002 19:28:02 -0000 1.6
+++ Recorder.java 25 Feb 2002 15:18:53 -0000 1.7
@@ -92,7 +92,7 @@
* unset state (null).
*/
private Boolean start = null;
- /** What level to log? -1 means not initialized yet. */
+ /** The level to log at. A level of -1 means not initialized yet. */
private int loglevel = -1;
/** The list of recorder entries. */
private static Hashtable recorderEntries = new Hashtable();
1.4 +1 -2
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Sleep.java
Index: Sleep.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Sleep.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Sleep.java 26 Jan 2002 19:32:42 -0000 1.3
+++ Sleep.java 25 Feb 2002 15:18:53 -0000 1.4
@@ -62,7 +62,6 @@
* A task to sleep for a period of time
*
* @author [EMAIL PROTECTED] steve loughran
- * @created 01 May 2001
*/
public class Sleep extends Task {
@@ -186,7 +185,7 @@
/**
- * Executes this build task. throws org.apache.tools.ant.BuildException
+ * Executes this build task. Throws org.apache.tools.ant.BuildException
* if there is an error during task execution.
*
* @exception BuildException Description of Exception
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>