diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-10 12:04:13 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-10 12:04:13 -0400 |
| commit | 7097b9aa7515fa437012fea82ab6c91db0ec8cda (patch) | |
| tree | 95ccb9841fc3379606222df9ff65f64585e099af /MediaBrowser.Server.Implementations/Library/LibraryManager.cs | |
| parent | ff1db0a17341345cb5d625b9a44d02981ce131bf (diff) | |
resharper suggestions in server implementations
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Library/LibraryManager.cs | 7 |
1 files changed, 3 insertions, 4 deletions
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<ChildrenChangedEventArgs> LibraryChanged; /// <summary> - /// Raises the <see cref="E:LibraryChanged" /> event. + /// Reports the library changed. /// </summary> /// <param name="args">The <see cref="ChildrenChangedEventArgs" /> instance containing the event data.</param> 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<double> { }, cancellationToken, recursive: false); + await RootFolder.ValidateChildren(new Progress<double>(), 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<double> { }, cancellationToken, recursive: false).ConfigureAwait(false); + await userRootFolder.ValidateChildren(new Progress<double>(), cancellationToken, recursive: false).ConfigureAwait(false); } /// <summary> |
