Skip to content

Commit

Permalink
Cleaning up unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Laszlo Deak committed Nov 11, 2023
1 parent 1233cb2 commit 6063315
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/Http/Routing/src/Matching/HttpMethodMatcherPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,6 @@ internal struct KnownHttpMethodsJumpTableBuilder
private const int PutIndex = 7;
private const int TraceIndex = 8;

public KnownHttpMethodsJumpTableBuilder()
{
}

private BuildTable _table;

public bool TrySet(string method, int destination)
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Routing/src/Matching/KnownHttpMethodsJumpTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public bool TryGetKnownValue(string method, out int destination)

return matchedMethod is not null && method.Equals(matchedMethod, StringComparison.OrdinalIgnoreCase);
}
destination = 0;
destination = default;
return false;
}
}

0 comments on commit 6063315

Please sign in to comment.