Merge pull request #130 from twogee/correct-javadoc
Correct javadoc
diff --git a/src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java b/src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java
index 25e8f73..5d25b3e 100644
--- a/src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java
+++ b/src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java
@@ -31,8 +31,8 @@
* which goes to show why signature is an inadequate way of verifying
* how well an interface is implemented.
*
- * @return
- * @throws RemoteException
+ * @return the phase of the moon
+ * @throws RemoteException hopefully never
*/
public long when() throws RemoteException {
Calendar cal = Calendar.getInstance();
diff --git a/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java b/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
index 93fe23b..34d2f40 100644
--- a/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
+++ b/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
@@ -54,16 +54,16 @@
* <p>The ModifiedSelector is implemented as a <b>CoreSelector</b> and uses default
* values for all its attributes therefore the simplest example is</p><pre>
* <copy todir="dest">
- * <filelist dir="src">
+ * <fileset dir="src">
* <modified/>
- * </filelist>
+ * </fileset>
* </copy>
* </pre>
*
* <p>The same example rewritten as CoreSelector with setting the all values
* (same as defaults are) would be</p><pre>
* <copy todir="dest">
- * <filelist dir="src">
+ * <fileset dir="src">
* <modified update="true"
* cache="propertyfile"
* algorithm="digest"
@@ -71,13 +71,13 @@
* <param name="cache.cachefile" value="cache.properties"/>
* <param name="algorithm.algorithm" value="MD5"/>
* </modified>
- * </filelist>
+ * </fileset>
* </copy>
* </pre>
*
* <p>And the same rewritten as CustomSelector would be</p><pre>
* <copy todir="dest">
- * <filelist dir="src">
+ * <fileset dir="src">
* <custom class="org.apache.tools.ant.type.selectors.ModifiedSelector">
* <param name="update" value="true"/>
* <param name="cache" value="propertyfile"/>
@@ -86,7 +86,7 @@
* <param name="cache.cachefile" value="cache.properties"/>
* <param name="algorithm.algorithm" value="MD5"/>
* </custom>
- * </filelist>
+ * </fileset>
* </copy>
* </pre>
*