Browse Source

Add missing @since tags

Change-Id: Ia657e46b9abc8c8640f63f6ff579b2f8f2b01de4
stable-3.6
Christian Halstrick 10 years ago committed by Matthias Sohn
parent
commit
714f677ca5
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java
  2. 10
      org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java

1
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;

10
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)

Loading…
Cancel
Save