Skip to content

Commit d545849

Browse files
cleanup
1 parent 31b14c6 commit d545849

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Build/BackEnd/BuildManager/RequestedProjectState.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ internal RequestedProjectState Merge(RequestedProjectState other)
7676
if (PropertyFilters != null || other.PropertyFilters != null)
7777
{
7878
HashSet<string> mergedProperties;
79-
80-
// Optimize: Initialize HashSet with one collection if available
79+
8180
if (PropertyFilters != null)
8281
{
8382
mergedProperties = new HashSet<string>(PropertyFilters, StringComparer.OrdinalIgnoreCase);
@@ -172,7 +171,7 @@ internal bool IsSubsetOf(RequestedProjectState another)
172171
{
173172
HashSet<string> thisPropertyFilters = new HashSet<string>(PropertyFilters, StringComparer.OrdinalIgnoreCase);
174173
HashSet<string> anotherPropertyFilters = new HashSet<string>(another.PropertyFilters, StringComparer.OrdinalIgnoreCase);
175-
174+
176175
if (!thisPropertyFilters.IsSubsetOf(anotherPropertyFilters))
177176
{
178177
return false;

0 commit comments

Comments
 (0)