Skip to content

Commit f3987d2

Browse files
committed
C#: Remove isNullOrEmpty check as it is implied by the case above.
1 parent a2d3f9f commit f3987d2

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/FeedManager.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,7 @@ private IEnumerable<string> GetFeeds(Func<IList<string>> getNugetFeeds)
141141
continue;
142142
}
143143

144-
if (!string.IsNullOrWhiteSpace(url))
145-
{
146-
yield return url;
147-
}
144+
yield return url;
148145
}
149146
}
150147

0 commit comments

Comments
 (0)