File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
google-cloud-spanner/src/main/java/com/google/cloud/spanner Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ public void commit() {
8181 txnState = TransactionState .COMMIT_FAILED ;
8282 throw e2 ;
8383 } finally {
84- // At this point, if the TransactionState is not ABORTED, then the transaction has reached a
85- // terminal state.
84+ // At this point, if the TransactionState is not ABORTED, then the transaction has reached an
85+ // end state.
8686 // We can safely call close() to release resources.
8787 if (getState () != TransactionState .ABORTED ) {
8888 close ();
@@ -99,7 +99,7 @@ public void rollback() {
9999 txn .rollback ();
100100 } finally {
101101 txnState = TransactionState .ROLLED_BACK ;
102- // At this point, the TransactionState is ROLLED_BACK which is a terminal state.
102+ // At this point, the TransactionState is ROLLED_BACK which is an end state.
103103 // We can safely call close() to release resources.
104104 close ();
105105 }
You can’t perform that action at this time.
0 commit comments