mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
removed code redundancies.
This commit is contained in:
@@ -32,14 +32,11 @@ namespace Marr.Data.Reflection
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else if (fieldType.IsValueType)
|
||||
if (fieldType.IsValueType)
|
||||
{
|
||||
return Activator.CreateInstance(fieldType);
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user