No need for the if null check as it will always be null in the ctor

This commit is contained in:
Warren Buckley
2020-11-30 10:15:06 +00:00
parent 5328268645
commit fc2ff2525d

View File

@@ -25,9 +25,7 @@ namespace Umbraco.Web.Telemetry
{
_runtime = runtime;
_logger = logger;
if (_httpClient == null)
_httpClient = new HttpClient();
_httpClient = new HttpClient();
}
/// <summary>