Skip to content

Commit 836ac70

Browse files
Tidy formatting
- Remove extraneous space. - Use target-typed new.
1 parent 03ad74f commit 836ac70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Polly.Core/ResiliencePipelineBuilderBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private protected ResiliencePipelineBuilderBase(ResiliencePipelineBuilderBase ot
5959
/// Gets or sets the <see cref="ResilienceContextPool"/> associated with the builder.
6060
/// </summary>
6161
/// <remarks>
62-
/// A custom pool can be used to configure custom behavior for creation.
62+
/// A custom pool can be used to configure custom behavior for creation.
6363
/// This can include setting a default <c>continueOnCapturedContext</c> parameter or custom operation key resolution.
6464
/// </remarks>
6565
/// <value>
@@ -112,7 +112,7 @@ internal void AddPipelineComponent(Func<StrategyBuilderContext, PipelineComponen
112112
throw new InvalidOperationException("Cannot add any more resilience strategies to the builder after it has been used to build a pipeline once.");
113113
}
114114

115-
_entries.Add(new Entry(factory, options));
115+
_entries.Add(new(factory, options));
116116
}
117117

118118
internal PipelineComponent BuildPipelineComponent()

0 commit comments

Comments
 (0)