Skip to content

Commit 9c64bea

Browse files
committed
Remove commented out code
1 parent 63c096e commit 9c64bea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ private static string GetContentType(string url)
254254
if (!string.IsNullOrEmpty(url))
255255
{
256256
var response = _joinableTaskFactory.Run(async () => await _httpClient.GetAsync(url));
257-
//var response = _httpClient.GetAsync(url).GetAwaiter().GetResult();
258257
var mediaType = response.Content.Headers.ContentType.MediaType;
259258
return mediaType.Split(";".ToCharArray(), StringSplitOptions.RemoveEmptyEntries).First();
260259
}

0 commit comments

Comments
 (0)