Skip to content

Commit 38e7995

Browse files
committed
Remove extra null check
1 parent a37d632 commit 38e7995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Http/src/Internal/RequestCookieCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public bool ContainsKey(string key)
133133

134134
public bool TryGetValue(string key, out string value)
135135
{
136-
if (Store == null || key == null)
136+
if (Store == null)
137137
{
138138
value = null;
139139
return false;

0 commit comments

Comments
 (0)