From 1393ce030d84a3fde42d6af9ce7f914af8cb74a5 Mon Sep 17 00:00:00 2001 From: ZLoo Date: Sat, 20 Jul 2024 00:51:22 +0300 Subject: [PATCH] #nullable enable remove extra space --- src/Polly/CircuitBreaker/SingleHealthMetrics.cs | 1 - src/Polly/Fallback/AsyncFallbackPolicy.cs | 1 - src/Polly/Fallback/AsyncFallbackSyntax.cs | 1 - src/Polly/Fallback/FallbackEngine.cs | 1 - src/Polly/Fallback/FallbackPolicy.cs | 1 - src/Polly/Fallback/FallbackSyntax.cs | 1 - src/Polly/Fallback/IFallbackPolicy.cs | 1 - src/Polly/NoOp/AsyncNoOpPolicy.cs | 1 - src/Polly/NoOp/AsyncNoOpSyntax.cs | 1 - src/Polly/NoOp/AsyncNoOpTResultSyntax.cs | 1 - src/Polly/NoOp/INoOpPolicy.cs | 1 - src/Polly/NoOp/NoOpEngine.cs | 1 - src/Polly/NoOp/NoOpPolicy.cs | 1 - src/Polly/NoOp/NoOpSyntax.cs | 1 - src/Polly/NoOp/NoOpTResultSyntax.cs | 1 - src/Polly/RateLimit/AsyncRateLimitEngine.cs | 1 - src/Polly/RateLimit/AsyncRateLimitPolicy.cs | 1 - src/Polly/RateLimit/AsyncRateLimitSyntax.cs | 1 - src/Polly/RateLimit/AsyncRateLimitTResultSyntax.cs | 1 - src/Polly/RateLimit/IRateLimitPolicy.cs | 1 - src/Polly/RateLimit/IRateLimiter.cs | 1 - src/Polly/RateLimit/LockFreeTokenBucketRateLimiter.cs | 1 - src/Polly/RateLimit/RateLimitEngine.cs | 1 - src/Polly/RateLimit/RateLimitPolicy.cs | 1 - src/Polly/RateLimit/RateLimitSyntax.cs | 1 - src/Polly/RateLimit/RateLimitTResultSyntax.cs | 1 - src/Polly/RateLimit/RateLimiterFactory.cs | 1 - 27 files changed, 27 deletions(-) diff --git a/src/Polly/CircuitBreaker/SingleHealthMetrics.cs b/src/Polly/CircuitBreaker/SingleHealthMetrics.cs index dc06e4d9bc..e17859f6a6 100644 --- a/src/Polly/CircuitBreaker/SingleHealthMetrics.cs +++ b/src/Polly/CircuitBreaker/SingleHealthMetrics.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.CircuitBreaker; internal class SingleHealthMetrics : IHealthMetrics diff --git a/src/Polly/Fallback/AsyncFallbackPolicy.cs b/src/Polly/Fallback/AsyncFallbackPolicy.cs index 085329d946..a7ce0e9456 100644 --- a/src/Polly/Fallback/AsyncFallbackPolicy.cs +++ b/src/Polly/Fallback/AsyncFallbackPolicy.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.Fallback; /// diff --git a/src/Polly/Fallback/AsyncFallbackSyntax.cs b/src/Polly/Fallback/AsyncFallbackSyntax.cs index 6cc8dd5f0a..933d6c6db2 100644 --- a/src/Polly/Fallback/AsyncFallbackSyntax.cs +++ b/src/Polly/Fallback/AsyncFallbackSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; /// diff --git a/src/Polly/Fallback/FallbackEngine.cs b/src/Polly/Fallback/FallbackEngine.cs index 3cf79a4dd5..1193286891 100644 --- a/src/Polly/Fallback/FallbackEngine.cs +++ b/src/Polly/Fallback/FallbackEngine.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.Fallback; internal static class FallbackEngine diff --git a/src/Polly/Fallback/FallbackPolicy.cs b/src/Polly/Fallback/FallbackPolicy.cs index da2fb119e8..168b24e138 100644 --- a/src/Polly/Fallback/FallbackPolicy.cs +++ b/src/Polly/Fallback/FallbackPolicy.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.Fallback; /// diff --git a/src/Polly/Fallback/FallbackSyntax.cs b/src/Polly/Fallback/FallbackSyntax.cs index f93ccba6cc..0fa17a1f43 100644 --- a/src/Polly/Fallback/FallbackSyntax.cs +++ b/src/Polly/Fallback/FallbackSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; /// diff --git a/src/Polly/Fallback/IFallbackPolicy.cs b/src/Polly/Fallback/IFallbackPolicy.cs index 102fdd5862..389625bb2f 100644 --- a/src/Polly/Fallback/IFallbackPolicy.cs +++ b/src/Polly/Fallback/IFallbackPolicy.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.Fallback; /// diff --git a/src/Polly/NoOp/AsyncNoOpPolicy.cs b/src/Polly/NoOp/AsyncNoOpPolicy.cs index 68fdcb7497..4a5293292c 100644 --- a/src/Polly/NoOp/AsyncNoOpPolicy.cs +++ b/src/Polly/NoOp/AsyncNoOpPolicy.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.NoOp; /// diff --git a/src/Polly/NoOp/AsyncNoOpSyntax.cs b/src/Polly/NoOp/AsyncNoOpSyntax.cs index f348d23935..a9f5530095 100644 --- a/src/Polly/NoOp/AsyncNoOpSyntax.cs +++ b/src/Polly/NoOp/AsyncNoOpSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; public partial class Policy diff --git a/src/Polly/NoOp/AsyncNoOpTResultSyntax.cs b/src/Polly/NoOp/AsyncNoOpTResultSyntax.cs index 32aaeabbd6..ef5c3964a8 100644 --- a/src/Polly/NoOp/AsyncNoOpTResultSyntax.cs +++ b/src/Polly/NoOp/AsyncNoOpTResultSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; public partial class Policy diff --git a/src/Polly/NoOp/INoOpPolicy.cs b/src/Polly/NoOp/INoOpPolicy.cs index e5b32d3005..d594c2272e 100644 --- a/src/Polly/NoOp/INoOpPolicy.cs +++ b/src/Polly/NoOp/INoOpPolicy.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.NoOp; /// diff --git a/src/Polly/NoOp/NoOpEngine.cs b/src/Polly/NoOp/NoOpEngine.cs index cf0e02cef3..32ea09a21e 100644 --- a/src/Polly/NoOp/NoOpEngine.cs +++ b/src/Polly/NoOp/NoOpEngine.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.NoOp; internal static partial class NoOpEngine diff --git a/src/Polly/NoOp/NoOpPolicy.cs b/src/Polly/NoOp/NoOpPolicy.cs index cc4f0a02b1..0ae7220001 100644 --- a/src/Polly/NoOp/NoOpPolicy.cs +++ b/src/Polly/NoOp/NoOpPolicy.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.NoOp; /// diff --git a/src/Polly/NoOp/NoOpSyntax.cs b/src/Polly/NoOp/NoOpSyntax.cs index aa39ee4f77..15dffb56e0 100644 --- a/src/Polly/NoOp/NoOpSyntax.cs +++ b/src/Polly/NoOp/NoOpSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; public partial class Policy diff --git a/src/Polly/NoOp/NoOpTResultSyntax.cs b/src/Polly/NoOp/NoOpTResultSyntax.cs index 1b205f7fb9..da31f09de0 100644 --- a/src/Polly/NoOp/NoOpTResultSyntax.cs +++ b/src/Polly/NoOp/NoOpTResultSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; public partial class Policy diff --git a/src/Polly/RateLimit/AsyncRateLimitEngine.cs b/src/Polly/RateLimit/AsyncRateLimitEngine.cs index c380335da2..5b27c565c6 100644 --- a/src/Polly/RateLimit/AsyncRateLimitEngine.cs +++ b/src/Polly/RateLimit/AsyncRateLimitEngine.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.RateLimit; internal static class AsyncRateLimitEngine diff --git a/src/Polly/RateLimit/AsyncRateLimitPolicy.cs b/src/Polly/RateLimit/AsyncRateLimitPolicy.cs index cb643e83be..360205f173 100644 --- a/src/Polly/RateLimit/AsyncRateLimitPolicy.cs +++ b/src/Polly/RateLimit/AsyncRateLimitPolicy.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.RateLimit; /// diff --git a/src/Polly/RateLimit/AsyncRateLimitSyntax.cs b/src/Polly/RateLimit/AsyncRateLimitSyntax.cs index 0a28bc5861..19eaa6c79c 100644 --- a/src/Polly/RateLimit/AsyncRateLimitSyntax.cs +++ b/src/Polly/RateLimit/AsyncRateLimitSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; public partial class Policy diff --git a/src/Polly/RateLimit/AsyncRateLimitTResultSyntax.cs b/src/Polly/RateLimit/AsyncRateLimitTResultSyntax.cs index baf5c3cf05..f54c79cdbe 100644 --- a/src/Polly/RateLimit/AsyncRateLimitTResultSyntax.cs +++ b/src/Polly/RateLimit/AsyncRateLimitTResultSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; public partial class Policy diff --git a/src/Polly/RateLimit/IRateLimitPolicy.cs b/src/Polly/RateLimit/IRateLimitPolicy.cs index d30534ef53..959497fcc0 100644 --- a/src/Polly/RateLimit/IRateLimitPolicy.cs +++ b/src/Polly/RateLimit/IRateLimitPolicy.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.RateLimit; /// diff --git a/src/Polly/RateLimit/IRateLimiter.cs b/src/Polly/RateLimit/IRateLimiter.cs index b977008e49..94a2215d97 100644 --- a/src/Polly/RateLimit/IRateLimiter.cs +++ b/src/Polly/RateLimit/IRateLimiter.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.RateLimit; /// diff --git a/src/Polly/RateLimit/LockFreeTokenBucketRateLimiter.cs b/src/Polly/RateLimit/LockFreeTokenBucketRateLimiter.cs index dce3814a7b..df4c4e1303 100644 --- a/src/Polly/RateLimit/LockFreeTokenBucketRateLimiter.cs +++ b/src/Polly/RateLimit/LockFreeTokenBucketRateLimiter.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.RateLimit; /// diff --git a/src/Polly/RateLimit/RateLimitEngine.cs b/src/Polly/RateLimit/RateLimitEngine.cs index 43de04c7b3..0883f676d6 100644 --- a/src/Polly/RateLimit/RateLimitEngine.cs +++ b/src/Polly/RateLimit/RateLimitEngine.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.RateLimit; internal static class RateLimitEngine diff --git a/src/Polly/RateLimit/RateLimitPolicy.cs b/src/Polly/RateLimit/RateLimitPolicy.cs index 07de422bfb..ea52a1a99c 100644 --- a/src/Polly/RateLimit/RateLimitPolicy.cs +++ b/src/Polly/RateLimit/RateLimitPolicy.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.RateLimit; /// diff --git a/src/Polly/RateLimit/RateLimitSyntax.cs b/src/Polly/RateLimit/RateLimitSyntax.cs index 26b27c096a..9ca08f04a9 100644 --- a/src/Polly/RateLimit/RateLimitSyntax.cs +++ b/src/Polly/RateLimit/RateLimitSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; public partial class Policy diff --git a/src/Polly/RateLimit/RateLimitTResultSyntax.cs b/src/Polly/RateLimit/RateLimitTResultSyntax.cs index c2d5e9867c..98f243f59c 100644 --- a/src/Polly/RateLimit/RateLimitTResultSyntax.cs +++ b/src/Polly/RateLimit/RateLimitTResultSyntax.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly; public partial class Policy diff --git a/src/Polly/RateLimit/RateLimiterFactory.cs b/src/Polly/RateLimit/RateLimiterFactory.cs index c25447600e..2375af528e 100644 --- a/src/Polly/RateLimit/RateLimiterFactory.cs +++ b/src/Polly/RateLimit/RateLimiterFactory.cs @@ -1,5 +1,4 @@ #nullable enable - namespace Polly.RateLimit; internal static class RateLimiterFactory