mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04: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