diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-04 16:08:45 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-04 16:08:45 -0400 |
| commit | 54a5d63a619eeb78b4e84c626a4c208419be9705 (patch) | |
| tree | 912f682b59e352ba42245ede2c3c2e6f2fddc61d /MediaBrowser.Server.Implementations/Persistence | |
| parent | b40991b28de1312bbd16855c30aa371921014787 (diff) | |
mono fixes
Diffstat (limited to 'MediaBrowser.Server.Implementations/Persistence')
5 files changed, 0 insertions, 33 deletions
diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteChapterRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteChapterRepository.cs index ff97bc40c..9121ae87b 100644 --- a/MediaBrowser.Server.Implementations/Persistence/SqliteChapterRepository.cs +++ b/MediaBrowser.Server.Implementations/Persistence/SqliteChapterRepository.cs @@ -188,11 +188,6 @@ namespace MediaBrowser.Server.Implementations.Persistence throw new ArgumentNullException("chapters"); } - if (cancellationToken == null) - { - throw new ArgumentNullException("cancellationToken"); - } - cancellationToken.ThrowIfCancellationRequested(); await _writeLock.WaitAsync(cancellationToken).ConfigureAwait(false); diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs index 909745fe3..bfbb0e206 100644 --- a/MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs +++ b/MediaBrowser.Server.Implementations/Persistence/SqliteDisplayPreferencesRepository.cs @@ -112,10 +112,6 @@ namespace MediaBrowser.Server.Implementations.Persistence { throw new ArgumentNullException("displayPreferences.Id"); } - if (cancellationToken == null) - { - throw new ArgumentNullException("cancellationToken"); - } cancellationToken.ThrowIfCancellationRequested(); diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs index ee47dbd81..d61178d28 100644 --- a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs +++ b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs @@ -186,11 +186,6 @@ namespace MediaBrowser.Server.Implementations.Persistence throw new ArgumentNullException("items"); } - if (cancellationToken == null) - { - throw new ArgumentNullException("cancellationToken"); - } - cancellationToken.ThrowIfCancellationRequested(); await _writeLock.WaitAsync(cancellationToken).ConfigureAwait(false); @@ -456,11 +451,6 @@ namespace MediaBrowser.Server.Implementations.Persistence throw new ArgumentNullException("children"); } - if (cancellationToken == null) - { - throw new ArgumentNullException("cancellationToken"); - } - cancellationToken.ThrowIfCancellationRequested(); await _writeLock.WaitAsync(cancellationToken).ConfigureAwait(false); diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs index e58bd2506..fa8e69b9b 100644 --- a/MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs +++ b/MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs @@ -116,10 +116,6 @@ namespace MediaBrowser.Server.Implementations.Persistence { throw new ArgumentNullException("userData"); } - if (cancellationToken == null) - { - throw new ArgumentNullException("cancellationToken"); - } if (userId == Guid.Empty) { throw new ArgumentNullException("userId"); diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteUserRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteUserRepository.cs index 1aa0e8395..8749c929c 100644 --- a/MediaBrowser.Server.Implementations/Persistence/SqliteUserRepository.cs +++ b/MediaBrowser.Server.Implementations/Persistence/SqliteUserRepository.cs @@ -98,11 +98,6 @@ namespace MediaBrowser.Server.Implementations.Persistence throw new ArgumentNullException("user"); } - if (cancellationToken == null) - { - throw new ArgumentNullException("cancellationToken"); - } - cancellationToken.ThrowIfCancellationRequested(); var serialized = _jsonSerializer.SerializeToBytes(user); @@ -199,11 +194,6 @@ namespace MediaBrowser.Server.Implementations.Persistence throw new ArgumentNullException("user"); } - if (cancellationToken == null) - { - throw new ArgumentNullException("cancellationToken"); - } - cancellationToken.ThrowIfCancellationRequested(); await _writeLock.WaitAsync(cancellationToken).ConfigureAwait(false); |
