Skip to content

Commit 042b319

Browse files
committed
Direct cast
1 parent b9afe19 commit 042b319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nest/CommonAbstractions/LazyDocument/LazyDocumentJsonConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ internal class LazyDocumentJsonConverter : JsonConverter
88
{
99
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
1010
{
11-
var d = value as LazyDocument;
11+
var d = (LazyDocument)value;
1212
if (d?._Value == null)
1313
{
1414
writer.WriteNull();

0 commit comments

Comments
 (0)