From f0549fed8b3ff312b226abe28887dba57343dca5 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Sat, 11 Nov 2006 22:35:25 +0000 Subject: [PATCH] javadoc git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@473819 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tools/ant/taskdefs/optional/Cab.java | 4 +++- .../apache/tools/ant/taskdefs/optional/Javah.java | 15 ++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/Cab.java b/src/main/org/apache/tools/ant/taskdefs/optional/Cab.java index cfb9f5b53..f706ceb41 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/Cab.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/Cab.java @@ -140,6 +140,7 @@ public class Cab extends MatchingTask { /** * Create a new exec delegate. The delegate task is populated so that * it appears in the logs to be the same task as this one. + * @return the delegate. * @throws BuildException on error. */ protected ExecTask createExec() throws BuildException { @@ -171,7 +172,7 @@ public class Cab extends MatchingTask { *

This method expects to only be called on Windows and thus * quotes the file names.

* @param files the list of files to use. - * @param the list file created. + * @return the list file created. * @throws IOException if there is an error. */ protected File createListFile(Vector files) @@ -208,6 +209,7 @@ public class Cab extends MatchingTask { * are gathered from the fileset if it has been added, otherwise from the * traditional include parameters. * @return the list of files. + * @throws BuildException if there is an error. */ protected Vector getFileList() throws BuildException { Vector files = new Vector(); diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java b/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java index 7cf33fa20..a0e556a04 100755 --- a/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/Javah.java @@ -249,7 +249,7 @@ public class Javah extends Task { /** * The bootclasspath to use. - * + * @return the bootclass path. * @since Ant 1.6.3 */ public Path getBootclasspath() { @@ -267,7 +267,7 @@ public class Javah extends Task { /** * The destination file, if any. - * + * @return the destination file. * @since Ant 1.6.3 */ public File getOutputfile() { @@ -284,7 +284,7 @@ public class Javah extends Task { /** * Whether output files should always be written. - * + * @return the force attribute. * @since Ant 1.6.3 */ public boolean getForce() { @@ -304,7 +304,7 @@ public class Javah extends Task { /** * Whether old JDK1.0-style header files should be generated. - * + * @return the old attribute. * @since Ant 1.6.3 */ public boolean getOld() { @@ -321,7 +321,7 @@ public class Javah extends Task { /** * Whether C declarations from the Java object file should be generated. - * + * @return the stubs attribute. * @since Ant 1.6.3 */ public boolean getStubs() { @@ -339,7 +339,7 @@ public class Javah extends Task { /** * Whether verbose output should get generated. - * + * @return the verbose attribute. * @since Ant 1.6.3 */ public boolean getVerbose() { @@ -375,7 +375,7 @@ public class Javah extends Task { /** * Returns the (implementation specific) settings given as nested * arg elements. - * + * @return the arguments. * @since Ant 1.6.3 */ public String[] getCurrentArgs() { @@ -428,6 +428,7 @@ public class Javah extends Task { /** * Logs the compilation parameters, adds the files to compile and logs the * "niceSourceList" + * @param cmd the command line. */ public void logAndAddFiles(Commandline cmd) { logAndAddFilesToCompile(cmd);