aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src
diff options
context:
space:
mode:
authorChristian Halstrick <christian.halstrick@sap.com>2014-11-08 18:29:01 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2014-11-09 22:21:31 +0100
commit714f677ca54731a011b50a4559f869c9d207ce19 (patch)
tree847edac143fd6d8025e64f5e233509906ee1ce5c /org.eclipse.jgit/src
parent440f95363d3f966b7f966bf164fb44f361b3e670 (diff)
downloadjgit-714f677ca54731a011b50a4559f869c9d207ce19.tar.gz
jgit-714f677ca54731a011b50a4559f869c9d207ce19.zip
Add missing @since tags
Change-Id: Ia657e46b9abc8c8640f63f6ff579b2f8f2b01de4
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java1
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java10
2 files changed, 9 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java
index 0458ac4911..7fea880612 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java
@@ -199,6 +199,7 @@ public abstract class RefDatabase {
/**
* @return if the database performs {@code newBatchUpdate()} as an atomic
* transaction.
+ * @since 3.6
*/
public boolean performsAtomicTransactions() {
return false;
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java
index 475ba35283..83d063e4a6 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java
@@ -1254,7 +1254,10 @@ public abstract class BaseReceivePack {
}
}
- /** @return if any commands have been rejected so far. */
+ /**
+ * @return if any commands have been rejected so far.
+ * @since 3.6
+ */
protected boolean anyRejects() {
for (ReceiveCommand cmd : commands) {
if (cmd.getResult() != Result.NOT_ATTEMPTED && cmd.getResult() != Result.OK)
@@ -1263,7 +1266,10 @@ public abstract class BaseReceivePack {
return false;
}
- /** Set the result to fail for any command that was not processed yet. */
+ /**
+ * Set the result to fail for any command that was not processed yet.
+ * @since 3.6
+ */
protected void failPendingCommands() {
for (ReceiveCommand cmd : commands) {
if (cmd.getResult() == Result.NOT_ATTEMPTED)