From d05427580b225b485f58a37d6b0c1064a0fa74bf Mon Sep 17 00:00:00 2001 From: "Sean G. Wright" Date: Tue, 14 Jul 2020 20:29:49 -0400 Subject: [PATCH] Update MiddlewareFilterBuilder.cs (#23793) Comment grammar typo for _pipelinesCache --- src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs index de689d3e2c..6ca1eb2d54 100644 --- a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs +++ b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs @@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Mvc.Filters /// internal class MiddlewareFilterBuilder { - // 'GetOrAdd' call on the dictionary is not thread safe and we might end up creating the pipeline more + // 'GetOrAdd' call on the dictionary is not thread safe and we might end up creating the pipeline more than // once. To prevent this Lazy<> is used. In the worst case multiple Lazy<> objects are created for multiple // threads but only one of the objects succeeds in creating a pipeline. private readonly ConcurrentDictionary> _pipelinesCache