diff --git a/src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java b/src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java index 25e8f733b..5d25b3e01 100644 --- a/src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java +++ b/src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java @@ -31,8 +31,8 @@ public class AntTimestamp implements RemoteTimestamp { * 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 93fe23bb7..34d2f404c 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 @@ import org.apache.tools.ant.util.ResourceUtils; *

The ModifiedSelector is implemented as a CoreSelector and uses default * values for all its attributes therefore the simplest example is

  *   <copy todir="dest">
- *       <filelist dir="src">
+ *       <fileset dir="src">
  *           <modified/>
- *       </filelist>
+ *       </fileset>
  *   </copy>
  * 
* *

The same example rewritten as CoreSelector with setting the all values * (same as defaults are) would be

  *   <copy todir="dest">
- *       <filelist dir="src">
+ *       <fileset dir="src">
  *           <modified update="true"
  *                     cache="propertyfile"
  *                     algorithm="digest"
@@ -71,13 +71,13 @@ import org.apache.tools.ant.util.ResourceUtils;
  *               <param name="cache.cachefile"     value="cache.properties"/>
  *               <param name="algorithm.algorithm" value="MD5"/>
  *           </modified>
- *       </filelist>
+ *       </fileset>
  *   </copy>
  * 
* *

And the same rewritten as CustomSelector would be

  *   <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 @@ import org.apache.tools.ant.util.ResourceUtils;
  *               <param name="cache.cachefile"     value="cache.properties"/>
  *               <param name="algorithm.algorithm" value="MD5"/>
  *           </custom>
- *       </filelist>
+ *       </fileset>
  *   </copy>
  * 
*