diff --git a/src/main/org/apache/tools/ant/property/ParseProperties.java b/src/main/org/apache/tools/ant/property/ParseProperties.java index b955f6347..282d69c00 100644 --- a/src/main/org/apache/tools/ant/property/ParseProperties.java +++ b/src/main/org/apache/tools/ant/property/ParseProperties.java @@ -60,10 +60,10 @@ public class ParseProperties implements ParseNextProperty { * *
  • This implementation starts parsing the value * 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.
  • + * {@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. * *
  • If the PropertyExpander returns null the * method continues with the next PropertyExpander, otherwise it @@ -121,8 +121,7 @@ public class ParseProperties implements ParseNextProperty { /** * Learn whether a String contains replaceable properties. * - *

    Uses the configured {@link - * org.apache.tools.ant.PropertyHelper.PropertyExpander + *

    Uses the configured {@link PropertyExpander * PropertyExpanders} and scans through the string. Returns true * as soon as any expander finds a property.

    * @@ -147,8 +146,7 @@ public class ParseProperties implements ParseNextProperty { * Return any property that can be parsed from the specified position * in the specified String. * - *

    Uses the configured {@link - * org.apache.tools.ant.PropertyHelper.PropertyExpander + *

    Uses the configured {@link PropertyExpander * PropertyExpanders} and {@link GetProperty GetProperty} * instance .

    * diff --git a/src/main/org/apache/tools/ant/taskdefs/EchoXML.java b/src/main/org/apache/tools/ant/taskdefs/EchoXML.java index 3a11527ef..f5a210f58 100644 --- a/src/main/org/apache/tools/ant/taskdefs/EchoXML.java +++ b/src/main/org/apache/tools/ant/taskdefs/EchoXML.java @@ -59,7 +59,7 @@ public class EchoXML extends XMLFragment { /** * 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 */ diff --git a/src/main/org/apache/tools/ant/taskdefs/Jar.java b/src/main/org/apache/tools/ant/taskdefs/Jar.java index 6b73ac154..accc842e0 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Jar.java +++ b/src/main/org/apache/tools/ant/taskdefs/Jar.java @@ -678,7 +678,7 @@ public class Jar extends Zip { /** * 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 diff --git a/src/main/org/apache/tools/ant/taskdefs/Replace.java b/src/main/org/apache/tools/ant/taskdefs/Replace.java index 5227f1180..6c5c0fdb4 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Replace.java +++ b/src/main/org/apache/tools/ant/taskdefs/Replace.java @@ -201,7 +201,7 @@ public class Replace extends MatchingTask { /** * Set the token to replace. - * @param token String token. + * @param t String token. */ public void setToken(String t) { createReplaceToken().addText(t); @@ -811,7 +811,7 @@ public class Replace extends MatchingTask { * 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 File to load. + * @param replaceFilter Resource to load. * @since Ant 1.8.0 */ public void setReplaceFilterResource(Resource replaceFilter) { diff --git a/src/main/org/apache/tools/ant/taskdefs/condition/Http.java b/src/main/org/apache/tools/ant/taskdefs/condition/Http.java index fffb12666..f052720a5 100644 --- a/src/main/org/apache/tools/ant/taskdefs/condition/Http.java +++ b/src/main/org/apache/tools/ant/taskdefs/condition/Http.java @@ -70,7 +70,7 @@ public class Http extends ProjectComponent implements Condition { * 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) { diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java b/src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java index c61f960cb..91b1700f5 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java @@ -239,7 +239,7 @@ public class SchemaValidate extends XMLValidateTask { /** * 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 */ diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java b/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java index 8e963b138..f0fafeda5 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java @@ -103,7 +103,7 @@ public class ScpFromMessage extends AbstractSshMessage { * @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 */ diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessageBySftp.java b/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessageBySftp.java index 01a642673..c30696c76 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessageBySftp.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessageBySftp.java @@ -80,7 +80,7 @@ public class ScpFromMessageBySftp extends ScpFromMessage { * @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 */ diff --git a/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java b/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java index 8aabc0d9c..5f2917efe 100644 --- a/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java +++ b/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java @@ -173,9 +173,9 @@ public final class SelectorUtils { * 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 * null. @@ -194,9 +194,9 @@ public final class SelectorUtils { * 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 * null. diff --git a/src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java b/src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java index a159f5f0a..f13266072 100644 --- a/src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java +++ b/src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java @@ -57,7 +57,7 @@ public class TokenizedPattern { /** * 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 * null. * @param isCaseSensitive Whether or not matching should be performed * case sensitively.