From 8460f1756f0a5f0145022194430aade385e65f59 Mon Sep 17 00:00:00 2001 From: Mikael Weaver Date: Fri, 5 Jan 2024 22:44:05 -0800 Subject: [PATCH] Update stylecop analyzers to new version for collection initializers (#3658) --- Directory.Packages.props | 2 +- tools/Importer/BearerTokenHandler.cs | 2 -- tools/Importer/Importer.cs | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 297d59d0eb..4aeb3e6512 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -104,7 +104,7 @@ - + diff --git a/tools/Importer/BearerTokenHandler.cs b/tools/Importer/BearerTokenHandler.cs index f075650a32..c16102dabb 100644 --- a/tools/Importer/BearerTokenHandler.cs +++ b/tools/Importer/BearerTokenHandler.cs @@ -16,8 +16,6 @@ namespace Microsoft.Health.Fhir.Importer; -#pragma warning disable SA1010 // Opening square brackets should be spaced correctly. Fixed https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/3745 but not available yet. - public class BearerTokenHandler : DelegatingHandler { private readonly Dictionary _accessTokenCaches = []; diff --git a/tools/Importer/Importer.cs b/tools/Importer/Importer.cs index b401f3dbfc..9c4c4ad122 100644 --- a/tools/Importer/Importer.cs +++ b/tools/Importer/Importer.cs @@ -51,8 +51,6 @@ internal static class Importer private static HttpClient httpClient = new(); private static DelegatingHandler handler; -#pragma warning disable SA1010 // Opening square brackets should be spaced correctly. Fixed https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/3745 but not available yet. - internal static void Run() { if (string.IsNullOrEmpty(Endpoints))