From 7097b9aa7515fa437012fea82ab6c91db0ec8cda Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 10 Apr 2013 12:04:13 -0400 Subject: resharper suggestions in server implementations --- MediaBrowser.Server.Implementations/Library/LibraryManager.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs') diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs index a21b3e93e..e6c67d6c9 100644 --- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs +++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs @@ -1,7 +1,6 @@ using MediaBrowser.Common.Events; using MediaBrowser.Common.Extensions; using MediaBrowser.Common.ScheduledTasks; -using MediaBrowser.Controller; using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities.Movies; @@ -76,7 +75,7 @@ namespace MediaBrowser.Server.Implementations.Library public event EventHandler LibraryChanged; /// - /// Raises the event. + /// Reports the library changed. /// /// The instance containing the event data. public void ReportLibraryChanged(ChildrenChangedEventArgs args) @@ -753,7 +752,7 @@ namespace MediaBrowser.Server.Implementations.Library await RootFolder.RefreshMetadata(cancellationToken).ConfigureAwait(false); // Start by just validating the children of the root, but go no further - await RootFolder.ValidateChildren(new Progress { }, cancellationToken, recursive: false); + await RootFolder.ValidateChildren(new Progress(), cancellationToken, recursive: false); foreach (var folder in _userManager.Users.Select(u => u.RootFolder).Distinct()) { @@ -777,7 +776,7 @@ namespace MediaBrowser.Server.Implementations.Library cancellationToken.ThrowIfCancellationRequested(); - await userRootFolder.ValidateChildren(new Progress { }, cancellationToken, recursive: false).ConfigureAwait(false); + await userRootFolder.ValidateChildren(new Progress(), cancellationToken, recursive: false).ConfigureAwait(false); } /// -- cgit v1.2.3