From 292457577479fd7dfcbe1e3a4b8209f22efd7465 Mon Sep 17 00:00:00 2001 From: Archomeda Date: Fri, 21 Jun 2019 20:52:13 +0200 Subject: [PATCH] Remove additional unused code --- Gw2Sharp/WebApi/Caching/MemoryCacheMethod.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Gw2Sharp/WebApi/Caching/MemoryCacheMethod.cs b/Gw2Sharp/WebApi/Caching/MemoryCacheMethod.cs index a6846ed8f..c39d9801d 100644 --- a/Gw2Sharp/WebApi/Caching/MemoryCacheMethod.cs +++ b/Gw2Sharp/WebApi/Caching/MemoryCacheMethod.cs @@ -62,14 +62,6 @@ private void CollectInnerGarbage(DateTime now, ConcurrentDictionary HasInternalAsync(string category, object id) where T : object - { - return this.cachedItems.TryGetValue(category, out var cache) && - cache.TryGetValue(id, out object obj) && - obj is CacheItem item && - item.ExpiryTime > DateTime.Now; - } - /// public override Task?> TryGetAsync(string category, object id) {