You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2009/09/04 12:10:17 UTC

svn commit: r811335 - in /ant/core/trunk/src/main/org/apache/tools/ant: property/ taskdefs/ taskdefs/condition/ taskdefs/optional/ taskdefs/optional/ssh/ types/selectors/

Author: bodewig
Date: Fri Sep  4 10:10:16 2009
New Revision: 811335

URL: http://svn.apache.org/viewvc?rev=811335&view=rev
Log:
fix some javadoc warnings

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/EchoXML.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/condition/Http.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessageBySftp.java
    ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java
    ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java Fri Sep  4 10:10:16 2009
@@ -60,10 +60,10 @@
      *
      *  <li>This implementation starts parsing the <code>value</code>
      *  parameter (unsurprisingly) at the beginning and asks each
-     *  {@link org.apache.tools.ant.PropertyHelper.PropertyExpander
-     *  PropertyExpander} whether there is a property reference at
-     *  that point.  PropertyExpanders return the name of a property
-     *  they may find and may advance the parse position.</li>
+     *  {@link PropertyExpander PropertyExpander} whether there is a
+     *  property reference at that point.  PropertyExpanders return
+     *  the name of a property they may find and may advance the parse
+     *  position.</li>
      *
      *  <li>If the PropertyExpander returns <code>null</code> the
      *  method continues with the next PropertyExpander, otherwise it
@@ -121,8 +121,7 @@
     /**
      * Learn whether a String contains replaceable properties.
      *
-     * <p>Uses the configured {@link
-     *  org.apache.tools.ant.PropertyHelper.PropertyExpander
+     * <p>Uses the configured {@link PropertyExpander
      *  PropertyExpanders} and scans through the string.  Returns true
      *  as soon as any expander finds a property.</p>
      *
@@ -147,8 +146,7 @@
      * Return any property that can be parsed from the specified position
      * in the specified String.
      *
-     * <p>Uses the configured {@link
-     *  org.apache.tools.ant.PropertyHelper.PropertyExpander
+     * <p>Uses the configured {@link PropertyExpander
      *  PropertyExpanders} and {@link GetProperty GetProperty}
      *  instance .</p>
      *

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/EchoXML.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/EchoXML.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/EchoXML.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/EchoXML.java Fri Sep  4 10:10:16 2009
@@ -59,7 +59,7 @@
 
     /**
      * Set the namespace policy for the xml file
-     * @param s namespace policy: "ignore," "elementsOnly," or "all"
+     * @param n namespace policy: "ignore," "elementsOnly," or "all"
      * @see
      * org.apache.tools.ant.util.DOMElementWriter.XmlNamespacePolicy
      */

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java Fri Sep  4 10:10:16 2009
@@ -678,7 +678,7 @@
 
     /**
      * Overridden from Zip class to deal with manifests and index lists.
-     * @param in the stream to read data for the entry from.  The
+     * @param is the stream to read data for the entry from.  The
      * caller of the method is responsible for closing the stream.
      * @param zOut the zip output stream
      * @param vPath the name this entry shall have in the archive

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java Fri Sep  4 10:10:16 2009
@@ -201,7 +201,7 @@
 
         /**
          * Set the token to replace.
-         * @param token <code>String</code> token.
+         * @param t <code>String</code> token.
          */
         public void setToken(String t) {
             createReplaceToken().addText(t);
@@ -811,7 +811,7 @@
      * Sets the name of a resource containing filters; optional.
      * Each property will be treated as a replacefilter where token is the name
      * of the property and value is the value of the property.
-     * @param replaceFilterFile <code>File</code> to load.
+     * @param replaceFilter <code>Resource</code> to load.
      * @since Ant 1.8.0
      */
     public void setReplaceFilterResource(Resource replaceFilter) {

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/condition/Http.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/condition/Http.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/condition/Http.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/condition/Http.java Fri Sep  4 10:10:16 2009
@@ -70,7 +70,7 @@
      *               such as "GET", "HEAD", "TRACE", etc. The default
      *               if not specified is "GET".
      *
-     * @see java.net.HttpURLConnection.setRequestMethod()
+     * @see java.net.HttpURLConnection#setRequestMethod()
      * @since Ant 1.8.0
      */
     public void setRequestMethod(String method) {

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java Fri Sep  4 10:10:16 2009
@@ -239,7 +239,7 @@
 
     /**
      * Create a reader if the use of the class did not specify another one.
-     * The reason to not use {@link JAXPUtils#getXMLReader()} was to
+     * The reason to not use {@link org.apache.tools.ant.util.JAXPUtils#getXMLReader()} was to
      * create our own factory with our own options.
      * @return a default XML parser
      */

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java Fri Sep  4 10:10:16 2009
@@ -103,7 +103,7 @@
      * @param aRemoteFile the remote file name
      * @param aLocalFile  the local file
      * @param recursive   if true use recursion (-r option to scp)
-     * @param preservceLastModified whether to preserve file
+     * @param preserveLastModified whether to preserve file
      * modification times
      * @since Ant 1.8.0
      */

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessageBySftp.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessageBySftp.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessageBySftp.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessageBySftp.java Fri Sep  4 10:10:16 2009
@@ -80,7 +80,7 @@
      * @param aRemoteFile the remote file name
      * @param aLocalFile  the local file
      * @param recursive   if true use recursion
-     * @param preservceLastModified whether to preserve file
+     * @param preserveLastModified whether to preserve file
      * modification times
      * @since Ant 1.8.0
      */

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java Fri Sep  4 10:10:16 2009
@@ -173,9 +173,9 @@
      * Tests whether or not a given path matches a given pattern.
      *
      * If you need to call this method multiple times with the same 
-     * pattern you should rather use PathPattern
+     * pattern you should rather use TokenizedPath
      *
-     * @see PathPattern
+     * @see TokenizedPath
      * 
      * @param pattern The pattern to match against. Must not be
      *                <code>null</code>.
@@ -194,9 +194,9 @@
      * Tests whether or not a given path matches a given pattern.
      * 
      * If you need to call this method multiple times with the same 
-     * pattern you should rather use PathPattern
+     * pattern you should rather use TokenizedPattern
      *
-     * @see PathPattern
+     * @see TokenizedPattern
      * 
      * @param pattern The pattern to match against. Must not be
      *                <code>null</code>.

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java?rev=811335&r1=811334&r2=811335&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java Fri Sep  4 10:10:16 2009
@@ -57,7 +57,7 @@
     /**
      * Tests whether or not a given path matches a given pattern.
      *
-     * @param str     The path to match, as a String. Must not be
+     * @param path    The path to match, as a String. Must not be
      *                <code>null</code>.
      * @param isCaseSensitive Whether or not matching should be performed
      *                        case sensitively.