From cd2bf6f21cc5f6fb50b2a32bc31ca58199a988a5 Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Thu, 19 Oct 2023 19:47:51 +0700 Subject: [PATCH] TagSoup.Parser: Suppressed SonarCloud S5332 because the URLs are only used for naming purposes (#881) --- src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs b/src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs index 665e68aa7d..bfe3c43a6b 100644 --- a/src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs +++ b/src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs @@ -22,6 +22,7 @@ using Sax.Helpers; using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.IO; using System.Text; using JCG = J2N.Collections.Generic; @@ -31,6 +32,8 @@ namespace TagSoup /// /// The SAX parser class. /// + [SuppressMessage("CodeQuality", "IDE0079:Remove unnecessary suppression", Justification = "This is a SonarCloud issue")] + [SuppressMessage("Security Hotspot", "S5332:Using clear-text protocols is security-sensitive", Justification = "URLs are only for naming purposes")] public class Parser : DefaultHandler, IScanHandler, IXMLReader, ILexicalHandler { // XMLReader implementation