File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/Build/BackEnd/BuildManager Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,7 @@ internal RequestedProjectState Merge(RequestedProjectState other)
76
76
if ( PropertyFilters != null || other . PropertyFilters != null )
77
77
{
78
78
HashSet < string > mergedProperties ;
79
-
80
- // Optimize: Initialize HashSet with one collection if available
79
+
81
80
if ( PropertyFilters != null )
82
81
{
83
82
mergedProperties = new HashSet < string > ( PropertyFilters , StringComparer . OrdinalIgnoreCase ) ;
@@ -172,7 +171,7 @@ internal bool IsSubsetOf(RequestedProjectState another)
172
171
{
173
172
HashSet < string > thisPropertyFilters = new HashSet < string > ( PropertyFilters , StringComparer . OrdinalIgnoreCase ) ;
174
173
HashSet < string > anotherPropertyFilters = new HashSet < string > ( another . PropertyFilters , StringComparer . OrdinalIgnoreCase ) ;
175
-
174
+
176
175
if ( ! thisPropertyFilters . IsSubsetOf ( anotherPropertyFilters ) )
177
176
{
178
177
return false ;
You can’t perform that action at this time.
0 commit comments