aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs/src
diff options
context:
space:
mode:
authorJerry James <loganjerry@gmail.com>2020-09-14 08:27:01 -0600
committerJerry James <loganjerry@gmail.com>2020-09-14 08:27:01 -0600
commitde14ca22d72be35e59ce370ef0edf8626db6cd82 (patch)
tree746054ba7809fd6c7990a364dff0050a3fc7012e /taskdefs/src
parentf8f117808bef16efd520803636c6841332e83c49 (diff)
downloadaspectj-de14ca22d72be35e59ce370ef0edf8626db6cd82.tar.gz
aspectj-de14ca22d72be35e59ce370ef0edf8626db6cd82.zip
Fix misplaced or incorrect javadoc tags
Diffstat (limited to 'taskdefs/src')
-rw-r--r--taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java4
-rw-r--r--taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java5
2 files changed, 3 insertions, 6 deletions
diff --git a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java
index 68824ca80..624410298 100644
--- a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java
+++ b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java
@@ -175,9 +175,9 @@ public class Ajc2 extends Javac {
}
/**
- * Returns if the <code>-preprocess</code> flag is turned on.
+ * Set the <code>-preprocess</code> flag.
*
- * @return <code>true</code> if the <code>-preprocess</code> flag is on.
+ * @param preprocess <code>true</code> turns on the <code>-preprocess</code> flag.
* @see Ajc2#preprocess
*/
public void setPreprocess(boolean preprocess) {
diff --git a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java
index 34db3e9c5..f2c17081b 100644
--- a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java
+++ b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java
@@ -114,8 +114,6 @@ public class AjcTask extends MatchingTask {
* </pre>
*
* @param javac the Javac command to implement (not null)
- * @param ajc the AjcTask to adapt (not null)
- * @param destDir the File class destination directory (may be null)
* @return null if no error, or String error otherwise
*/
public String setupAjc(Javac javac) {
@@ -1252,7 +1250,7 @@ public class AjcTask extends MatchingTask {
}
/**
- * @throw BuildException if options conflict
+ * @throws BuildException if options conflict
*/
protected void verifyOptions() {
StringBuffer sb = new StringBuffer();
@@ -1509,7 +1507,6 @@ public class AjcTask extends MatchingTask {
}
// ------------------------------ setup and reporting
- /** @return null if path null or empty, String rendition otherwise */
protected static void addFlaggedPath(String flag, Path path, List<String> list) {
if (!LangUtil.isEmpty(flag) && ((null != path) && (0 < path.size()))) {
list.add(flag);