diff --git a/src/main/org/apache/tools/ant/taskdefs/Javadoc.java b/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
index 253247c73..818f0c990 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
@@ -257,7 +257,8 @@ public class Javadoc extends Task {
}
/**
- * @see java.lang.Object#toString
+ * Return a string rep for this object.
+ * @return the package name.
*/
public String toString() {
return getName();
@@ -341,7 +342,7 @@ public class Javadoc extends Task {
*/
public static class AccessType extends EnumeratedAttribute {
/**
- * @see EnumeratedAttribute#getValues().
+ * @return the allowed values for the access type.
*/
public String[] getValues() {
// Protected first so if any GUI tool offers a default
@@ -359,9 +360,18 @@ public class Javadoc extends Task {
*/
public class ResourceCollectionContainer {
private ArrayList rcs = new ArrayList();
+ /**
+ * Add a resource collection to the container.
+ * @param rc the collection to add.
+ */
public void add(ResourceCollection rc) {
rcs.add(rc);
}
+
+ /**
+ * Get an iterator on the collection.
+ * @return an iterator.
+ */
private Iterator iterator() {
return rcs.iterator();
}
@@ -1227,6 +1237,7 @@ public class Javadoc extends Task {
/**
* should Ant resolve the link attribute relative to the
* current basedir?
+ * @return the resolveLink attribute.
*/
public boolean shouldResolveLink() {
return resolveLink;
@@ -1507,10 +1518,11 @@ public class Javadoc extends Task {
public void setSource(String source) {
this.source = source;
}
-
+
/**
* Sets the actual executable command to invoke, instead of the binary
* javadoc
found in Ant's JDK.
+ * @param executable the command to invoke.
* @since Ant 1.6.3
*/
public void setExecutable(String executable) {
@@ -1547,6 +1559,7 @@ public class Javadoc extends Task {
* Adds a container for resource collections.
*
*
All included files will be added as sourcefiles.
+ * @return the source files to configure. * @since 1.7 */ public ResourceCollectionContainer createSourceFiles() { @@ -1586,6 +1599,7 @@ public class Javadoc extends Task { /** * If set to true, Ant will also accept packages that only hold * package.html files but no Java sources. + * @param b aboolean
value.
* @since Ant 1.6.3
*/
public void setIncludeNoSourcePackages(boolean b) {
@@ -1598,15 +1612,16 @@ public class Javadoc extends Task {
*/
public void execute() throws BuildException {
if ("javadoc2".equals(getTaskType())) {
- log("Warning: the task name boolean
value.
*/
public void setValidate(boolean validate) {
this.validate = validate;
@@ -131,7 +132,7 @@ public class MakeUrl extends Task {
* add a path to the URL. All elements in the path
* will be converted to individual URL entries
*
- * @param path
+ * @param path a path value.
*/
public void addPath(Path path) {
paths.add(path);
diff --git a/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java b/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java
index d21e17798..84f7fb4d9 100644
--- a/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java
+++ b/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java
@@ -58,9 +58,7 @@ public abstract class MatchingTask extends Task implements SelectorContainer {
protected FileSet fileset = new FileSet();
- /**
- * @see org.apache.tools.ant.ProjectComponent#setProject
- */
+ /** {@inheritDoc}. */
public void setProject(Project project) {
super.setProject(project);
fileset.setProject(project);
diff --git a/src/main/org/apache/tools/ant/taskdefs/Move.java b/src/main/org/apache/tools/ant/taskdefs/Move.java
index 12688a97f..041f93526 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Move.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Move.java
@@ -63,7 +63,7 @@ public class Move extends Copy {
setOverwrite(true);
}
- // inherit doc
+ /** {@inheritDoc}. */
protected void validateAttributes() throws BuildException {
if (file != null && file.isDirectory()) {
if ((destFile != null && destDir != null)
diff --git a/src/main/org/apache/tools/ant/taskdefs/PathConvert.java b/src/main/org/apache/tools/ant/taskdefs/PathConvert.java
index a3cfb9b48..2a229bcfe 100644
--- a/src/main/org/apache/tools/ant/taskdefs/PathConvert.java
+++ b/src/main/org/apache/tools/ant/taskdefs/PathConvert.java
@@ -213,6 +213,7 @@ public class PathConvert extends Task {
* Set targetos to a platform to one of
* "windows", "unix", "netware", or "os/2";
* current platform settings are used by default.
+ * @param target the target os.
* @deprecated since 1.5.x.
* Use the method taking a TargetOs argument instead.
* @see #setTargetos(PathConvert.TargetOs)
diff --git a/src/main/org/apache/tools/ant/taskdefs/Property.java b/src/main/org/apache/tools/ant/taskdefs/Property.java
index ce93c91f1..01848f74a 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Property.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Property.java
@@ -334,7 +334,7 @@ public class Property extends Task {
/**
* @param userProperty ignored
* @deprecated since 1.5.x.
- * This was never a supported feature and has been
+ * This was never a supported feature and has been
* deprecated without replacement.
* @ant.attribute ignore="true"
*/
diff --git a/src/main/org/apache/tools/ant/taskdefs/compilers/AptCompilerAdapter.java b/src/main/org/apache/tools/ant/taskdefs/compilers/AptCompilerAdapter.java
index d2b1f0f18..119df9435 100644
--- a/src/main/org/apache/tools/ant/taskdefs/compilers/AptCompilerAdapter.java
+++ b/src/main/org/apache/tools/ant/taskdefs/compilers/AptCompilerAdapter.java
@@ -156,7 +156,7 @@ public class AptCompilerAdapter extends DefaultCompilerAdapter {
/**
* Run the compilation.
- * @retrun true on success.
+ * @return true on success.
* @throws BuildException if the compilation has problems.
*/
public boolean execute() throws BuildException {