mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
ReSharper code cleanup
This commit is contained in:
parent
8cade435d1
commit
e896af5cd0
138 changed files with 2368 additions and 2218 deletions
|
@ -1,8 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using NLog;
|
||||
using NzbDrone.Core.Repository.Quality;
|
||||
using SubSonic.Repository;
|
||||
|
@ -11,12 +9,11 @@ namespace NzbDrone.Core.Providers
|
|||
{
|
||||
public class QualityProvider
|
||||
{
|
||||
private IRepository _sonicRepo;
|
||||
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
||||
private readonly IRepository _sonicRepo;
|
||||
|
||||
public QualityProvider()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public QualityProvider(IRepository sonicRepo)
|
||||
|
@ -24,8 +21,6 @@ namespace NzbDrone.Core.Providers
|
|||
_sonicRepo = sonicRepo;
|
||||
}
|
||||
|
||||
#region IQualityProvider Members
|
||||
|
||||
public virtual void Add(QualityProfile profile)
|
||||
{
|
||||
_sonicRepo.Add(profile);
|
||||
|
@ -58,7 +53,5 @@ namespace NzbDrone.Core.Providers
|
|||
{
|
||||
return _sonicRepo.Single<QualityProfile>(q => q.QualityProfileId == profileId);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue