diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2019-02-18 14:47:02 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-18 14:47:02 +0300 |
| commit | e2f6ecaef60f97eb3fa72878ddb26fe73522d865 (patch) | |
| tree | 016e48f1e5212afdb0bffb01c5d34092e5a9b704 /Emby.Server.Implementations/Devices/DeviceId.cs | |
| parent | 9a38e4dc8abdd25f0f3674a398748f7a7e4b092a (diff) | |
| parent | bdfd042d705ec25ef37516ea7495f71eaee53d2e (diff) | |
Merge pull request #829 from Bond-009/fields
Removed some unused fields
Diffstat (limited to 'Emby.Server.Implementations/Devices/DeviceId.cs')
| -rw-r--r-- | Emby.Server.Implementations/Devices/DeviceId.cs | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Emby.Server.Implementations/Devices/DeviceId.cs b/Emby.Server.Implementations/Devices/DeviceId.cs index 866bd137f..495c3436a 100644 --- a/Emby.Server.Implementations/Devices/DeviceId.cs +++ b/Emby.Server.Implementations/Devices/DeviceId.cs @@ -11,7 +11,6 @@ namespace Emby.Server.Implementations.Devices { private readonly IApplicationPaths _appPaths; private readonly ILogger _logger; - private readonly IFileSystem _fileSystem; private readonly object _syncLock = new object(); @@ -86,19 +85,10 @@ namespace Emby.Server.Implementations.Devices private string _id; - public DeviceId( - IApplicationPaths appPaths, - ILoggerFactory loggerFactory, - IFileSystem fileSystem) + public DeviceId(IApplicationPaths appPaths, ILoggerFactory loggerFactory) { - if (fileSystem == null) - { - throw new ArgumentNullException(nameof(fileSystem)); - } - _appPaths = appPaths; _logger = loggerFactory.CreateLogger("SystemId"); - _fileSystem = fileSystem; } public string Value => _id ?? (_id = GetDeviceId()); |
