Skip to content

Commit d4b49d2

Browse files
author
Kevin Hellemun
committed
Removed redundant check. (sdk_csharp#43)
1 parent e4e36d4 commit d4b49d2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

BunqSdk/Json/BunqContractResolver.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ public BunqContractResolver(IReadOnlyCollection<Type> typesToExclude=null)
4040

4141
foreach (var type in typesToExclude)
4242
{
43-
if (converterRegistry.ContainsKey(type))
44-
{
45-
converterRegistry.Remove(type);
46-
}
43+
converterRegistry.Remove(type);
4744
}
4845
}
4946

0 commit comments

Comments
 (0)