From 22d480b4ddec90321b796098a79ea098fbd04104 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 25 Feb 2023 13:15:03 +0530 Subject: [PATCH] code refactoring changes --- DnsServerCore/WebServiceSettingsApi.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DnsServerCore/WebServiceSettingsApi.cs b/DnsServerCore/WebServiceSettingsApi.cs index 22ff70fb..cebbc06c 100644 --- a/DnsServerCore/WebServiceSettingsApi.cs +++ b/DnsServerCore/WebServiceSettingsApi.cs @@ -1033,7 +1033,7 @@ namespace DnsServerCore { foreach (string strBlockListUrl in blockListUrlList) { - if (strBlockListUrl.StartsWith("!")) + if (strBlockListUrl.StartsWith('!')) { string strAllowListUrl = strBlockListUrl.Substring(1); @@ -1062,7 +1062,7 @@ namespace DnsServerCore foreach (string strBlockListUrl in blockListUrlList) { - if (strBlockListUrl.StartsWith("!")) + if (strBlockListUrl.StartsWith('!')) { Uri allowListUrl = new Uri(strBlockListUrl.Substring(1));