From 5ebc2dbbdc362f4f2930dfeee6f0ac80614f1ef5 Mon Sep 17 00:00:00 2001 From: Jesse Stockall Date: Mon, 21 Apr 2003 14:26:00 +0000 Subject: [PATCH] Fix javadoc warnings git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274488 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tools/ant/taskdefs/Parallel.java | 5 ++-- .../apache/tools/ant/taskdefs/SQLExec.java | 4 ++-- .../tools/ant/taskdefs/XSLTProcess.java | 2 +- .../optional/extension/Extension.java | 2 +- .../ant/taskdefs/optional/net/SetProxy.java | 2 +- .../optional/perforce/P4Integrate.java | 24 +++++++++---------- 6 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Parallel.java b/src/main/org/apache/tools/ant/taskdefs/Parallel.java index f97729f11..fd4177d78 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Parallel.java +++ b/src/main/org/apache/tools/ant/taskdefs/Parallel.java @@ -64,7 +64,8 @@ import org.apache.tools.ant.util.StringUtils; /** * Executes the contained tasks in separate threads, continuing - * once all are completed.
+ * once all are completed. + *

* New behavior allows for the ant script to specify a maximum number of * threads that will be executed in parallel. One should be very careful about * using the waitFor task when specifying threadCount @@ -74,7 +75,7 @@ import org.apache.tools.ant.util.StringUtils; * task is started, but it will not insure a successful completion of those * tasks or that those tasks will finish first (i.e. it's a classic race * condition). - *

+ *

* @author Thomas Christen chr@active.ch * @author Conor MacNeill * @author Danno Ferrin diff --git a/src/main/org/apache/tools/ant/taskdefs/SQLExec.java b/src/main/org/apache/tools/ant/taskdefs/SQLExec.java index c2d07c23a..0e56768ae 100644 --- a/src/main/org/apache/tools/ant/taskdefs/SQLExec.java +++ b/src/main/org/apache/tools/ant/taskdefs/SQLExec.java @@ -259,8 +259,8 @@ public class SQLExec extends JDBCTask { } /** - * Set the delimiter that separates SQL statements; - * optional, default ";" + * Set the delimiter that separates SQL statements. Defaults to ";"; + * optional * *

For example, set this to "go" and delimitertype to "ROW" for * Sybase ASE or MS SQL Server.

diff --git a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java index 43ec83ce9..56814814b 100644 --- a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java +++ b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java @@ -183,7 +183,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { } /** - * Controls whether the stylesheet is reloaded for every transform + * Controls whether the stylesheet is reloaded for every transform. * *

Setting this to true may get around a bug in certain * Xalan-J versions, default is false.

diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java index af5cd0de2..c8390fea3 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java @@ -177,7 +177,7 @@ public final class Extension /** * Enum indicating that extension is incompatible with * other extension in ways other than other enums - * indicate). ie For example the other extension may have + * indicate). For example the other extension may have * a different ID. */ public static final Compatibility INCOMPATIBLE = diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/net/SetProxy.java b/src/main/org/apache/tools/ant/taskdefs/optional/net/SetProxy.java index f6dd557d2..3e0f7a836 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/net/SetProxy.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/net/SetProxy.java @@ -194,7 +194,7 @@ public class SetProxy extends Task { } /** - * set the password for the proxy. used only if the proxyUser is set + * Set the password for the proxy. Used only if the proxyUser is set. * @param proxyPassword password to go with the username * @since Ant1.6 */ diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Integrate.java b/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Integrate.java index 8933079f8..7576833f1 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Integrate.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Integrate.java @@ -92,7 +92,7 @@ public class P4Integrate extends P4Base { /** * get the changelist number * - * @returns the changelist number set for this task + * @return the changelist number set for this task */ public String getChange() { return change; @@ -111,7 +111,7 @@ public class P4Integrate extends P4Base { /** * get the from file specification * - * @returns the from file specification + * @return the from file specification */ public String getFromfile() { return fromfile; @@ -129,7 +129,7 @@ public class P4Integrate extends P4Base { /** * get the to file specification * - * @returns the to file specification + * @return the to file specification */ public String getTofile() { return tofile; @@ -147,7 +147,7 @@ public class P4Integrate extends P4Base { /** * get the branch * - * @returns the name of the branch + * @return the name of the branch */ public String getBranch() { return branch; @@ -165,7 +165,7 @@ public class P4Integrate extends P4Base { /** * gets the restoredeletedrevisions flag * - * @returns restore deleted revisions + * @return restore deleted revisions */ public boolean isRestoreDeletedRevisions() { return restoredeletedrevisions; @@ -183,7 +183,7 @@ public class P4Integrate extends P4Base { /** * gets the forceintegrate flag * - * @returns restore deleted revisions + * @return restore deleted revisions */ public boolean isForceIntegrate() { return forceintegrate; @@ -201,7 +201,7 @@ public class P4Integrate extends P4Base { /** * gets the leavetargetrevision flag * - * @returns flag indicating if the target revision should be preserved + * @return flag indicating if the target revision should be preserved */ public boolean isLeaveTargetRevision() { return leavetargetrevision; @@ -219,7 +219,7 @@ public class P4Integrate extends P4Base { /** * gets the enablebaselessmerges flag * - * @returns boolean indicating if baseless merges are desired + * @return boolean indicating if baseless merges are desired */ public boolean isEnableBaselessMerges() { return enablebaselessmerges; @@ -237,7 +237,7 @@ public class P4Integrate extends P4Base { /** * gets the simulationmode flag * - * @returns simulation mode flag + * @return simulation mode flag */ public boolean isSimulationMode() { return simulationmode; @@ -254,7 +254,7 @@ public class P4Integrate extends P4Base { /** * returns the flag indicating if reverse branch mappings are sought * - * @returns reversebranchmappings flag + * @return reversebranchmappings flag */ public boolean isReversebranchmappings() { return reversebranchmappings; @@ -271,7 +271,7 @@ public class P4Integrate extends P4Base { /** * returns flag indicating if propagation of source file type is sought * - * @returns flag set to true if you want to propagate source file type for existing target files + * @return flag set to true if you want to propagate source file type for existing target files */ public boolean isPropagatesourcefiletype() { return propagatesourcefiletype; @@ -287,7 +287,7 @@ public class P4Integrate extends P4Base { /** * returns flag indicating if one wants to suppress the copying on the local hard disk of new target files * - * @returns flag indicating if one wants to suppress the copying on the local hard disk of new target files + * @return flag indicating if one wants to suppress the copying on the local hard disk of new target files */ public boolean isNocopynewtargetfiles() { return nocopynewtargetfiles;