SqliteItemRepository: remove redundant operations

removed:
* nameof -> FullName lookup
* IndexOf before Replace
* Enum.GetNames -> Enum.Parse roundtrip
This commit is contained in:
Bond_009
2021-04-22 15:28:24 +02:00
parent 95ab603a40
commit a02e37daa0
3 changed files with 68 additions and 122 deletions

View File

@@ -153,8 +153,7 @@ namespace MediaBrowser.Controller.Persistence
/// <summary>
/// Updates the inherited values.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
void UpdateInheritedValues(CancellationToken cancellationToken);
void UpdateInheritedValues();
int GetCount(InternalItemsQuery query);