Skip to content

Commit 0c5673b

Browse files
fix linter
1 parent 6e2a66d commit 0c5673b

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/Ydb.Sdk/src/Services/Topic/Reader/InternalBatchMessages.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ internal bool TryDequeueMessage([MaybeNullWhen(false)] out Message<TValue> messa
5353
{
5454
throw new ReaderException("Error when deserializing message data", e);
5555
}
56-
56+
5757
var nextCommitedOffset = messageData.Offset + 1;
5858

5959
message = new Message<TValue>(

src/Ydb.Sdk/src/Services/Topic/Reader/PartitionSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ internal void Stop(long commitedOffset)
8989
}
9090
else
9191
{
92-
Utils.SetPartitionClosedException(commitSending, PartitionSessionId);
92+
Utils.SetPartitionClosedException(commitSending, PartitionSessionId);
9393
}
9494
}
9595
}

src/Ydb.Sdk/src/Services/Topic/Reader/Reader.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void Dispose()
203203
try
204204
{
205205
_receivedMessagesChannel.Writer.TryComplete();
206-
206+
207207
_disposeCts.Cancel();
208208
}
209209
finally
@@ -421,7 +421,7 @@ private async Task StopPartitionSessionRequest(
421421
if (stopPartitionSessionRequest.Graceful)
422422
{
423423
partitionSession.Stop(stopPartitionSessionRequest.CommittedOffset);
424-
424+
425425
await _channelFromClientMessageSending.Writer.WriteAsync(new MessageFromClient
426426
{
427427
StopPartitionSessionResponse = new StreamReadMessage.Types.StopPartitionSessionResponse
@@ -431,7 +431,7 @@ await _channelFromClientMessageSending.Writer.WriteAsync(new MessageFromClient
431431
else
432432
{
433433
// Maybe a race condition with the server dropping all waiters before they can commit.
434-
partitionSession.Stop(-1);
434+
partitionSession.Stop(-1);
435435
}
436436
}
437437
else

src/Ydb.Sdk/tests/Topic/ReaderUnitTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.ComponentModel;
21
using System.Text;
32
using Google.Protobuf;
43
using Google.Protobuf.WellKnownTypes;

0 commit comments

Comments
 (0)