diff --git a/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitAddTask.java b/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitAddTask.java index db6f008a1..479dd869d 100644 --- a/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitAddTask.java +++ b/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitAddTask.java @@ -71,6 +71,8 @@ public class GitAddTask extends Task { private Union path; /** + *
Set the field src
.
src
+ *
* @param src
* the src to set
*/
@@ -75,6 +77,8 @@ public void setSrc(File src) {
}
/**
+ * Set branch
+ *
* @param branch
* the initial branch to check out
*/
@@ -83,6 +87,8 @@ public void setBranch(String branch) {
}
/**
+ * Set if branch should be created if not yet existing
+ *
* @param createBranch
* whether the branch should be created if it does not already
* exist
@@ -92,6 +98,8 @@ public void setCreateBranch(boolean createBranch) {
}
/**
+ * Set force
+ *
* @param force
* if true
and the branch with the given name
* already exists, the start-point of an existing branch will be
@@ -102,6 +110,7 @@ public void setForce(boolean force) {
this.force = force;
}
+ /** {@inheritDoc} */
@Override
public void execute() throws BuildException {
CheckoutCommand checkout;
diff --git a/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitCloneTask.java b/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitCloneTask.java
index b2cb35cbe..18a6db89f 100644
--- a/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitCloneTask.java
+++ b/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitCloneTask.java
@@ -68,6 +68,8 @@ public class GitCloneTask extends Task {
private String branch = Constants.HEAD;
/**
+ * Set the uri
.
+ *
* @param uri
* the uri to clone from
*/
@@ -80,7 +82,6 @@ public void setUri(String uri) {
* directory isn't set, a name associated with the source uri will be used.
*
* @see URIish#getHumanishName()
- *
* @param destination
* the directory to clone to
*/
@@ -89,6 +90,8 @@ public void setDest(File destination) {
}
/**
+ * Set bare
+ *
* @param bare
* whether the cloned repository is bare or not
*/
@@ -97,6 +100,8 @@ public void setBare(boolean bare) {
}
/**
+ * Set the branch
+ *
* @param branch
* the initial branch to check out when cloning the repository
*/
@@ -104,6 +109,7 @@ public void setBranch(String branch) {
this.branch = branch;
}
+ /** {@inheritDoc} */
@Override
public void execute() throws BuildException {
log("Cloning repository " + uri);
diff --git a/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitInitTask.java b/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitInitTask.java
index 91e57c0d6..70fd80eac 100644
--- a/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitInitTask.java
+++ b/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitInitTask.java
@@ -71,6 +71,8 @@ public void setDest(File dest) {
}
/**
+ * Configure if the repository should be bare
+ *
* @param bare
* whether the repository should be initialized to a bare
* repository or not.
@@ -79,6 +81,7 @@ public void setBare(boolean bare) {
this.bare = bare;
}
+ /** {@inheritDoc} */
@Override
public void execute() throws BuildException {
if (bare) {