Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
stasput committed Nov 18, 2024
1 parent d6b83da commit ec255a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ internal class TotalCountCompatibilityConverter : JsonConverter<object>
{
public override object? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
if (reader.TokenType != JsonTokenType.StartObject)
if (reader.TokenType != JsonTokenType.StartObject)
return JsonSerializer.Deserialize<object?>(ref reader, options);

var jsonDocument = JsonDocument.ParseValue(ref reader).RootElement;
return jsonDocument.GetProperty("value").Deserialize<object?>(options);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#nullable enable

using System.Collections.Generic;

using System.Text.Json.Serialization;

namespace SkbKontur.Cassandra.DistributedTaskQueue.Monitoring.Storage.Writing;
Expand Down

0 comments on commit ec255a0

Please sign in to comment.