mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-21 22:25:03 -04:00
Fixed: Use Array.Empty and fix a few multiple enumerations
(cherry picked from commit 11d91faaada0e70910c832ce405ddeed52a24172)
This commit is contained in:
@@ -189,7 +189,7 @@ namespace NzbDrone.Core.Indexers
|
||||
|
||||
public override IEnumerable<IndexerDefinition> GetPresetDefinitions(IndexerDefinition providerDefinition)
|
||||
{
|
||||
return new List<IndexerDefinition>();
|
||||
return Array.Empty<IndexerDefinition>();
|
||||
}
|
||||
|
||||
public override void SetProviderCharacteristics(IIndexer provider, IndexerDefinition definition)
|
||||
|
||||
Reference in New Issue
Block a user