diff --git a/Source/TimeWarp.State.Plus/State/TimeWarpCacheableState.cs b/Source/TimeWarp.State.Plus/State/TimeWarpCacheableState.cs index 97a1dbb09..538812181 100644 --- a/Source/TimeWarp.State.Plus/State/TimeWarpCacheableState.cs +++ b/Source/TimeWarp.State.Plus/State/TimeWarpCacheableState.cs @@ -55,13 +55,4 @@ protected void InvalidateCache() CacheKey = null; TimeStamp = null; } - - protected void UpdateCacheDuration(TimeSpan newDuration) - { - if (newDuration < TimeSpan.Zero) - { - throw new ArgumentException("Cache duration cannot be negative", nameof(newDuration)); - } - CacheDuration = newDuration; - } }