Skip to content

Commit

Permalink
remove redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
ugras-ergun-sonarsource committed Feb 20, 2024
1 parent 8760549 commit ce6fc35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public IEnumerable<T> GetServerConnectionConfiguration<T>() where T : ServerConn
{
if (bindingList == null) { InitBindingList(); }

return bindingList.OfType<T>().Select(bl => (T)bl);
return bindingList.OfType<T>();
}

private void InitBindingList()
Expand Down

0 comments on commit ce6fc35

Please sign in to comment.