This is an automated email from the ASF dual-hosted git repository. nightowl888 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit a445bd254d24cb55b2eb7fada18471370be5df59 Author: Shad Storhaug <[email protected]> AuthorDate: Wed Oct 19 09:49:38 2022 +0700 BUG: Lucene.Net.Benchmark.Support.TagSoup.Parser::SetProperty(): Removed duplicate guard clause --- src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs b/src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs index dcf4737ce..665e68aa7 100644 --- a/src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs +++ b/src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs @@ -366,8 +366,6 @@ namespace TagSoup // LUCENENET: Added guard clauses if (name is null) throw new ArgumentNullException(nameof(name)); - if (value is null) - throw new ArgumentNullException(nameof(value)); if (name.Equals(LEXICAL_HANDLER_PROPERTY, StringComparison.Ordinal)) {
