Skip to content

Commit

Permalink
Clirr
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-andersen committed Feb 10, 2024
1 parent 3bb84b8 commit e88d48a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions google-cloud-firestore/clirr-ignored-differences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@

<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<!-- ReadTimeTransaction - added abstract modifier to Transaction class-->
<difference>
<differenceType>3005</differenceType>
<className>com/google/cloud/firestore/Transaction</className>
</difference>

<!-- Shutdown/Shutdown Now -->
<difference>
<differenceType>7012</differenceType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.firestore;

import com.google.api.core.ApiFuture;
import com.google.api.core.InternalExtensionOnly;
import java.util.List;
import java.util.logging.Logger;
import javax.annotation.Nonnull;
Expand All @@ -28,13 +29,14 @@
*
* @see Firestore#runTransaction(Function)
*/
@InternalExtensionOnly
public abstract class Transaction extends UpdateBuilder<Transaction> {

private static final Logger LOGGER = Logger.getLogger(Transaction.class.getName());
private static final String READ_BEFORE_WRITE_ERROR_MSG =
"Firestore transactions require all reads to be executed before all writes";

Transaction(FirestoreImpl firestore) {
protected Transaction(FirestoreImpl firestore) {
super(firestore);
}

Expand Down

0 comments on commit e88d48a

Please sign in to comment.