From 4b5e9a1297c2ac78554557b74425c8dac97a7ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 21 Aug 2019 15:04:18 +0300 Subject: [PATCH] Remove redundant question marks. --- .../Abp/AspNetCore/Auditing/AspNetCoreAuditLogContributor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/Auditing/AspNetCoreAuditLogContributor.cs b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/Auditing/AspNetCoreAuditLogContributor.cs index 703745c40b..378b92a14a 100644 --- a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/Auditing/AspNetCoreAuditLogContributor.cs +++ b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/Auditing/AspNetCoreAuditLogContributor.cs @@ -64,14 +64,14 @@ namespace Volo.Abp.AspNetCore.Auditing protected virtual string GetBrowserInfo(HttpContext httpContext) { - return httpContext?.Request?.Headers?["User-Agent"]; + return httpContext.Request?.Headers?["User-Agent"]; } protected virtual string GetClientIpAddress(HttpContext httpContext) { try { - return httpContext?.Connection?.RemoteIpAddress?.ToString(); + return httpContext.Connection?.RemoteIpAddress?.ToString(); } catch (Exception ex) {