No need for the if null check as it will always be null in the ctor
This commit is contained in:
@@ -25,9 +25,7 @@ namespace Umbraco.Web.Telemetry
|
||||
{
|
||||
_runtime = runtime;
|
||||
_logger = logger;
|
||||
|
||||
if (_httpClient == null)
|
||||
_httpClient = new HttpClient();
|
||||
_httpClient = new HttpClient();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user