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 0458ac491..7fea88061 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 BatchRefUpdate newBatchUpdate() { /** * @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 475ba3528..83d063e4a 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 @@ protected void validateCommands() { } } - /** @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 @@ protected boolean anyRejects() { 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)