Browse Source

Merge pull request #130 from twogee/correct-javadoc

Correct javadoc
master
Stefan Bodewig GitHub 4 years ago
parent
commit
736eb32aad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions
  1. +2
    -2
      src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java
  2. +6
    -6
      src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java

+ 2
- 2
src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java View File

@@ -31,8 +31,8 @@ public class AntTimestamp implements RemoteTimestamp {
* which goes to show why signature is an inadequate way of verifying * which goes to show why signature is an inadequate way of verifying
* how well an interface is implemented. * how well an interface is implemented.
* *
* @return
* @throws RemoteException
* @return the phase of the moon
* @throws RemoteException hopefully never
*/ */
public long when() throws RemoteException { public long when() throws RemoteException {
Calendar cal = Calendar.getInstance(); Calendar cal = Calendar.getInstance();


+ 6
- 6
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java View File

@@ -54,16 +54,16 @@ import org.apache.tools.ant.util.ResourceUtils;
* <p>The ModifiedSelector is implemented as a <b>CoreSelector</b> and uses default * <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> * values for all its attributes therefore the simplest example is</p><pre>
* &lt;copy todir="dest"&gt; * &lt;copy todir="dest"&gt;
* &lt;filelist dir="src"&gt;
* &lt;fileset dir="src"&gt;
* &lt;modified/&gt; * &lt;modified/&gt;
* &lt;/filelist&gt;
* &lt;/fileset&gt;
* &lt;/copy&gt; * &lt;/copy&gt;
* </pre> * </pre>
* *
* <p>The same example rewritten as CoreSelector with setting the all values * <p>The same example rewritten as CoreSelector with setting the all values
* (same as defaults are) would be</p><pre> * (same as defaults are) would be</p><pre>
* &lt;copy todir="dest"&gt; * &lt;copy todir="dest"&gt;
* &lt;filelist dir="src"&gt;
* &lt;fileset dir="src"&gt;
* &lt;modified update="true" * &lt;modified update="true"
* cache="propertyfile" * cache="propertyfile"
* algorithm="digest" * algorithm="digest"
@@ -71,13 +71,13 @@ import org.apache.tools.ant.util.ResourceUtils;
* &lt;param name="cache.cachefile" value="cache.properties"/&gt; * &lt;param name="cache.cachefile" value="cache.properties"/&gt;
* &lt;param name="algorithm.algorithm" value="MD5"/&gt; * &lt;param name="algorithm.algorithm" value="MD5"/&gt;
* &lt;/modified&gt; * &lt;/modified&gt;
* &lt;/filelist&gt;
* &lt;/fileset&gt;
* &lt;/copy&gt; * &lt;/copy&gt;
* </pre> * </pre>
* *
* <p>And the same rewritten as CustomSelector would be</p><pre> * <p>And the same rewritten as CustomSelector would be</p><pre>
* &lt;copy todir="dest"&gt; * &lt;copy todir="dest"&gt;
* &lt;filelist dir="src"&gt;
* &lt;fileset dir="src"&gt;
* &lt;custom class="org.apache.tools.ant.type.selectors.ModifiedSelector"&gt; * &lt;custom class="org.apache.tools.ant.type.selectors.ModifiedSelector"&gt;
* &lt;param name="update" value="true"/&gt; * &lt;param name="update" value="true"/&gt;
* &lt;param name="cache" value="propertyfile"/&gt; * &lt;param name="cache" value="propertyfile"/&gt;
@@ -86,7 +86,7 @@ import org.apache.tools.ant.util.ResourceUtils;
* &lt;param name="cache.cachefile" value="cache.properties"/&gt; * &lt;param name="cache.cachefile" value="cache.properties"/&gt;
* &lt;param name="algorithm.algorithm" value="MD5"/&gt; * &lt;param name="algorithm.algorithm" value="MD5"/&gt;
* &lt;/custom&gt; * &lt;/custom&gt;
* &lt;/filelist&gt;
* &lt;/fileset&gt;
* &lt;/copy&gt; * &lt;/copy&gt;
* </pre> * </pre>
* *


Loading…
Cancel
Save