Skip to content

Commit b57be44

Browse files
committed
Fix typos in the pre-existing code
1 parent b077589 commit b57be44

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

driver-kotlin-coroutine/src/main/kotlin/com/mongodb/kotlin/client/coroutine/ClientSession.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public class ClientSession(public val wrapped: reactiveClientSession) : jClientS
200200
wrapped.startTransaction(transactionOptions)
201201

202202
/**
203-
* Commit a transaction in the context of this session. A transaction can only be commmited if one has first been
203+
* Commit a transaction in the context of this session. A transaction can only be committed if one has first been
204204
* started.
205205
*
206206
* @return an empty publisher that indicates when the operation has completed

driver-kotlin-sync/src/main/kotlin/com/mongodb/kotlin/client/ClientSession.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class ClientSession(public val wrapped: JClientSession) : Closeable {
6666
wrapped.startTransaction(transactionOptions)
6767

6868
/**
69-
* Commit a transaction in the context of this session. A transaction can only be commmited if one has first been
69+
* Commit a transaction in the context of this session. A transaction can only be committed if one has first been
7070
* started.
7171
*
7272
* @see com.mongodb.MongoException.UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL

driver-reactive-streams/src/main/com/mongodb/reactivestreams/client/ClientSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public interface ClientSession extends com.mongodb.session.ClientSession {
8383
void startTransaction(TransactionOptions transactionOptions);
8484

8585
/**
86-
* Commit a transaction in the context of this session. A transaction can only be commmited if one has first been started.
86+
* Commit a transaction in the context of this session. A transaction can only be committed if one has first been started.
8787
*
8888
* @return an empty publisher that indicates when the operation has completed
8989
* @see MongoException#UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL

driver-scala/src/main/scala/org/mongodb/scala/ClientSessionImplicits.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ trait ClientSessionImplicits {
3333
/**
3434
* Commit a transaction in the context of this session.
3535
*
36-
* A transaction can only be commmited if one has first been started.
36+
* A transaction can only be committed if one has first been started.
3737
*/
3838
def commitTransaction(): SingleObservable[Unit] = clientSession.commitTransaction()
3939

driver-sync/src/main/com/mongodb/client/ClientSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public interface ClientSession extends com.mongodb.session.ClientSession {
9494
void startTransaction(TransactionOptions transactionOptions);
9595

9696
/**
97-
* Commit a transaction in the context of this session. A transaction can only be commmited if one has first been started.
97+
* Commit a transaction in the context of this session. A transaction can only be committed if one has first been started.
9898
*
9999
* @see MongoException#UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL
100100
* @mongodb.server.release 4.0

0 commit comments

Comments
 (0)