Skip to content

Commit 39d1e08

Browse files
committed
C#: Remove isNullOrEmpty check as it is implied by the case above.
1 parent 4e3476f commit 39d1e08

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)