Add missing @since tags

Change-Id: Ia657e46b9abc8c8640f63f6ff579b2f8f2b01de4
This commit is contained in:
Christian Halstrick 2014-11-08 18:29:01 +01:00 committed by Matthias Sohn
parent 440f95363d
commit 714f677ca5
2 changed files with 9 additions and 2 deletions

View File

@ -199,6 +199,7 @@ public BatchRefUpdate newBatchUpdate() {
/** /**
* @return if the database performs {@code newBatchUpdate()} as an atomic * @return if the database performs {@code newBatchUpdate()} as an atomic
* transaction. * transaction.
* @since 3.6
*/ */
public boolean performsAtomicTransactions() { public boolean performsAtomicTransactions() {
return false; return false;

View File

@ -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() { protected boolean anyRejects() {
for (ReceiveCommand cmd : commands) { for (ReceiveCommand cmd : commands) {
if (cmd.getResult() != Result.NOT_ATTEMPTED && cmd.getResult() != Result.OK) if (cmd.getResult() != Result.NOT_ATTEMPTED && cmd.getResult() != Result.OK)
@ -1263,7 +1266,10 @@ protected boolean anyRejects() {
return false; 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() { protected void failPendingCommands() {
for (ReceiveCommand cmd : commands) { for (ReceiveCommand cmd : commands) {
if (cmd.getResult() == Result.NOT_ATTEMPTED) if (cmd.getResult() == Result.NOT_ATTEMPTED)