diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java b/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
index bd03b9db3..295033f26 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
@@ -123,8 +123,8 @@ public class SSHExec extends SSHBase {
}
/**
- * Should the output be appended to the file given in
- * setOutput
? Default is false, that is, overwrite
+ * Determines if the output is appended to the file given in
+ * setOutput
. Default is false, that is, overwrite
* the file.
*
* @param append True to append to an existing file, false to overwrite.
diff --git a/src/main/org/apache/tools/ant/util/WeakishReference.java b/src/main/org/apache/tools/ant/util/WeakishReference.java
index 9863aa8e6..9a5ad29dd 100644
--- a/src/main/org/apache/tools/ant/util/WeakishReference.java
+++ b/src/main/org/apache/tools/ant/util/WeakishReference.java
@@ -73,7 +73,7 @@ public abstract class WeakishReference {
/**
* create the appropriate type of reference for the java version
* @param object
- * @return
+ * @return reference to the Object.
*/
public static WeakishReference createReference(Object object) {
if(referenceConstructor==null) {