mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
removed code redundancies.
This commit is contained in:
parent
6d3a604677
commit
9a24268ee7
24 changed files with 104 additions and 185 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue