summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel <Lars.Vogel@gmail.com>2013-07-25 23:28:05 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2013-08-10 01:23:27 +0200
commit594408e522f8823810eb27302d5314ba07bd1304 (patch)
tree9d2f9333090f5d888c6477fd0e3bb110912d0df1
parentae1f46989c0515dce640ab339453b09810c0c5a5 (diff)
downloadjgit-594408e522f8823810eb27302d5314ba07bd1304.tar.gz
jgit-594408e522f8823810eb27302d5314ba07bd1304.zip
Add missing @since tags
Change-Id: I9754e2124c0fe6ad2dbde5597c3ed10f1c3efef5 Signed-off-by: Lars Vogel <Lars.Vogel@gmail.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/CherryPickCommand.java1
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java2
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java5
3 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/CherryPickCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/CherryPickCommand.java
index 1b8441170c..192a377678 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CherryPickCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CherryPickCommand.java
@@ -252,6 +252,7 @@ public class CherryPickCommand extends GitCommand<CherryPickResult> {
* @param prefix
* including ":"
* @return {@code this}
+ * @since 3.1
*/
public CherryPickCommand setReflogPrefix(final String prefix) {
this.reflogPrefix = prefix;
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java
index 20ba57d8db..eaf5483671 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java
@@ -91,6 +91,7 @@ public class StatusCommand extends GitCommand<Status> {
* @param path
* a path is relative to the top level of the repository
* @return {@code this}
+ * @since 3.1
*/
public StatusCommand addPath(String path) {
if (paths == null)
@@ -104,6 +105,7 @@ public class StatusCommand extends GitCommand<Status> {
*
* @return the paths for which the status is shown or <code>null</code> if
* the complete status for the whole repo is shown.
+ * @since 3.1
*/
public List<String> getPaths() {
return paths;
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
index fd1de2956d..2f56775f53 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
@@ -128,12 +128,16 @@ public class UploadPack {
* advertised.
* <p>
* This may happen, for example, when a custom {@link RefFilter} is set.
+ *
+ * @since 3.1
*/
TIP,
/**
* Client may ask for any commit reachable from any reference, even if that
* reference wasn't advertised.
+ *
+ * @since 3.1
*/
REACHABLE_COMMIT_TIP,
@@ -551,6 +555,7 @@ public class UploadPack {
* @param tc
* configuration controlling transfer options. If null the source
* repository's settings will be used.
+ * @since 3.1
*/
public void setTransferConfig(TransferConfig tc) {
this.transferConfig = tc != null ? tc : new TransferConfig(db);