Skip to content

Commit e30d62c

Browse files
committed
Small corrections
1 parent c3f85ae commit e30d62c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/MongoDB.Driver/Core/Bindings/CoreSessionOptions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
namespace MongoDB.Driver.Core.Bindings
1919
{
20-
//TODO Why is this class public?
2120
/// <summary>
2221
/// Core session options.
2322
/// </summary>

src/MongoDB.Driver/Core/Operations/ReadConcernHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static BsonDocument GetReadConcernForSnapshotSession(ICoreSession session
4040
Feature.SnapshotReads.ThrowIfNotSupported(connectionDescription.MaxWireVersion);
4141

4242
var readConcernDocument = ReadConcern.Snapshot.ToBsonDocument();
43-
if (session.SnapshotTime != null) // For the first read within a snapshot session, SnapshotTime will be null
43+
if (session.SnapshotTime != null)
4444
{
4545
readConcernDocument.Add("atClusterTime", session.SnapshotTime);
4646
}

0 commit comments

Comments
 (0)