Skip to content

Commit 80ba497

Browse files
committed
FDB-101: remove code warnings
1 parent 82b8f3e commit 80ba497

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

source/FluentDataBuilder.Json/DataBuilderExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ private static IDataBuilder ConvertToIDataBuilder(IDataBuilder builder, string k
158158

159159
throw new ArgumentOutOfRangeException($"unknown numeric data type: {jsonElement.ValueKind}");
160160
}
161-
break;
162161
case JsonValueKind.True:
163162
return true;
164163
case JsonValueKind.False:

source/FluentDataBuilder/Helper/DictionaryExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static class DictionaryExtensions
2828
mergedDictionary[key] = value;
2929
}
3030
}
31-
else if (value is Dictionary<string, object> dictionaryValue)
31+
else if (value is Dictionary<string, object?> dictionaryValue)
3232
{
3333
if (mergedDictionary[key] is Dictionary<string, object?> leftDictionaryValue)
3434
{

0 commit comments

Comments
 (0)