Skip to content

Commit d054275

Browse files
authored
Update MiddlewareFilterBuilder.cs (#23793)
Comment grammar typo for _pipelinesCache
1 parent d75b411 commit d054275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Mvc.Filters
1414
/// </summary>
1515
internal class MiddlewareFilterBuilder
1616
{
17-
// 'GetOrAdd' call on the dictionary is not thread safe and we might end up creating the pipeline more
17+
// 'GetOrAdd' call on the dictionary is not thread safe and we might end up creating the pipeline more than
1818
// once. To prevent this Lazy<> is used. In the worst case multiple Lazy<> objects are created for multiple
1919
// threads but only one of the objects succeeds in creating a pipeline.
2020
private readonly ConcurrentDictionary<Type, Lazy<RequestDelegate>> _pipelinesCache

0 commit comments

Comments
 (0)