From d8263c70574c6cb27329e270aebe3ba231f5e9ce Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 10 Apr 2013 11:45:15 -0400 Subject: resharper suggestions in common implementations --- .../HttpClientManager/HttpClientManager.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs') diff --git a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs index 8508fcdf5..f8edda203 100644 --- a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs +++ b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs @@ -1,6 +1,4 @@ -using System.Globalization; -using System.Net.Http.Headers; -using MediaBrowser.Common.Configuration; +using MediaBrowser.Common.Configuration; using MediaBrowser.Common.IO; using MediaBrowser.Common.Net; using MediaBrowser.Model.Logging; @@ -8,6 +6,7 @@ using MediaBrowser.Model.Net; using System; using System.Collections.Concurrent; using System.Collections.Generic; +using System.Globalization; using System.IO; using System.Linq; using System.Net.Cache; @@ -214,21 +213,20 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager { var tempFile = Path.Combine(_appPaths.TempDirectory, Guid.NewGuid() + ".tmp"); - return GetTempFile(options, tempFile, 0); + return GetTempFile(options, tempFile); } protected static readonly CultureInfo UsCulture = new CultureInfo("en-US"); - + /// /// Gets the temp file. /// /// The options. /// The temp file. - /// The resume count. /// Task{System.String}. /// progress /// - private async Task GetTempFile(HttpRequestOptions options, string tempFile, int resumeCount) + private async Task GetTempFile(HttpRequestOptions options, string tempFile) { ValidateParams(options.Url, options.CancellationToken); -- cgit v1.2.3