From 92f91690e49d31e05467a11338c1fd98779f4f8f Mon Sep 17 00:00:00 2001 From: Ebere Abanonu Date: Fri, 4 Feb 2022 21:04:55 +0100 Subject: [PATCH] Deleted `inheritdoc` for external assembly in `Akka.Streams.Dsl.RestartFlow.cs` (#5574) --- src/core/Akka.Streams/Dsl/RestartFlow.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/Akka.Streams/Dsl/RestartFlow.cs b/src/core/Akka.Streams/Dsl/RestartFlow.cs index e459cce657b..df55c44f69b 100644 --- a/src/core/Akka.Streams/Dsl/RestartFlow.cs +++ b/src/core/Akka.Streams/Dsl/RestartFlow.cs @@ -438,16 +438,16 @@ public Delay(TimeSpan duration) Duration = duration; } - /// + public bool Equals(Delay other) => !ReferenceEquals(other, null) && Equals(Duration, other.Duration); - /// + public override bool Equals(object obj) => obj is Delay && Equals((Delay)obj); - /// + public override int GetHashCode() => Duration.GetHashCode(); - /// + public override string ToString() => $"Duration({Duration})"; } }