diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2017-12-16 23:53:05 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2017-12-17 20:05:44 +0100 |
commit | c7093f5cbe92fbce7242f0be05aa942d9e15be9d (patch) | |
tree | 94d706af45d5345df3df66ef00747830571ab0de /org.eclipse.jgit.ant/src | |
parent | c1d37ca2754e7cf33ac020708f99eda47d89c31a (diff) | |
download | jgit-c7093f5cbe92fbce7242f0be05aa942d9e15be9d.tar.gz jgit-c7093f5cbe92fbce7242f0be05aa942d9e15be9d.zip |
Fix javadoc in org.eclipse.jgit.ant
Change-Id: I97231080ebe040ad44f7189de6109b9626424d2f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.ant/src')
4 files changed, 22 insertions, 1 deletions
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 db6f008a10..479dd869d5 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; /** + * <p>Set the field <code>src</code>.</p> + * * @param src * the src to set */ @@ -106,6 +108,7 @@ public class GitAddTask extends Task { return path; } + /** {@inheritDoc} */ @Override public void execute() throws BuildException { if (src == null) { diff --git a/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitCheckoutTask.java b/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitCheckoutTask.java index 9962472c9e..0b27cc2645 100644 --- a/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitCheckoutTask.java +++ b/org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitCheckoutTask.java @@ -67,6 +67,8 @@ public class GitCheckoutTask extends Task { private boolean force; /** + * Set the <code>src</code> + * * @param src * the src to set */ @@ -75,6 +77,8 @@ public class GitCheckoutTask extends Task { } /** + * Set <code>branch</code> + * * @param branch * the initial branch to check out */ @@ -83,6 +87,8 @@ public class GitCheckoutTask extends Task { } /** + * 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 class GitCheckoutTask extends Task { } /** + * Set <code>force</code> + * * @param force * if <code>true</code> and the branch with the given name * already exists, the start-point of an existing branch will be @@ -102,6 +110,7 @@ public class GitCheckoutTask extends Task { 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 b2cb35cbef..18a6db89f3 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 <code>uri</code>. + * * @param uri * the uri to clone from */ @@ -80,7 +82,6 @@ public class GitCloneTask extends Task { * 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 class GitCloneTask extends Task { } /** + * Set <code>bare</code> + * * @param bare * whether the cloned repository is bare or not */ @@ -97,6 +100,8 @@ public class GitCloneTask extends Task { } /** + * Set the <code>branch</code> + * * @param branch * the initial branch to check out when cloning the repository */ @@ -104,6 +109,7 @@ public class GitCloneTask extends Task { 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 91e57c0d6a..70fd80eac3 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 class GitInitTask extends Task { } /** + * Configure if the repository should be <code>bare</code> + * * @param bare * whether the repository should be initialized to a bare * repository or not. @@ -79,6 +81,7 @@ public class GitInitTask extends Task { this.bare = bare; } + /** {@inheritDoc} */ @Override public void execute() throws BuildException { if (bare) { |