aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-17 18:47:41 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-17 20:24:01 +0100
commit321c440739ae7657349c6a8e672a88bea1d6753c (patch)
tree7ad5309f6df0b7e4a5f12760535962340ce1307e /Emby.Server.Implementations/Library/LibraryManager.cs
parenta358631040ad5169c5f104c2577c4d63530d29f2 (diff)
Reformat JustAMan review pt1 changes
Refs #575
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index 9f999cb7f..073005a1e 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -432,7 +432,7 @@ namespace Emby.Server.Implementations.Library
ItemRepository.DeleteItem(child.Id, CancellationToken.None);
}
- _libraryItemsCache.TryRemove(item.Id, out var removed);
+ _libraryItemsCache.TryRemove(item.Id, out BaseItem removed);
ReportItemRemoved(item, parent);
}
@@ -1240,7 +1240,7 @@ namespace Emby.Server.Implementations.Library
throw new ArgumentNullException(nameof(id));
}
- if (LibraryItemsCache.TryGetValue(id, out var item))
+ if (LibraryItemsCache.TryGetValue(id, out BaseItem item))
{
return item;
}