Skip to content

Commit 3860e4a

Browse files
alinasmirnovaAndreyAkinshin
authored andcommitted
Removed redundant check
1 parent 83fc5ed commit 3860e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BenchmarkDotNet/Code/CodeGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ internal static string Generate(BuildPartition buildPartition)
9393

9494
private static void AddNonEmptyUnique(HashSet<string> items, string value)
9595
{
96-
if (!string.IsNullOrEmpty(value) && !items.Contains(value))
96+
if (!string.IsNullOrEmpty(value))
9797
items.Add(value);
9898
}
9999

0 commit comments

Comments
 (0)