Skip to content

Commit

Permalink
Removed redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
alinasmirnova authored and AndreyAkinshin committed Aug 29, 2023
1 parent 83fc5ed commit 3860e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BenchmarkDotNet/Code/CodeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ internal static string Generate(BuildPartition buildPartition)

private static void AddNonEmptyUnique(HashSet<string> items, string value)
{
if (!string.IsNullOrEmpty(value) && !items.Contains(value))
if (!string.IsNullOrEmpty(value))
items.Add(value);
}

Expand Down

0 comments on commit 3860e4a

Please sign in to comment.