mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-30 20:38:27 +01:00
fix SA1503 for one line if statements
This commit is contained in:
@@ -30,9 +30,12 @@ namespace Jellyfin.Data.Entities
|
||||
/// <param name="name"></param>
|
||||
public MetadataProvider(string name)
|
||||
{
|
||||
if (string.IsNullOrEmpty(name)) throw new ArgumentNullException(nameof(name));
|
||||
this.Name = name;
|
||||
if (string.IsNullOrEmpty(name))
|
||||
{
|
||||
throw new ArgumentNullException(nameof(name));
|
||||
}
|
||||
|
||||
this.Name = name;
|
||||
|
||||
Init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user