Skip to content

Commit 189e4f6

Browse files
committed
Some code cleanup
1 parent f28463b commit 189e4f6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Foundatio.TestHarness/Caching/CacheClientTestsBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ public virtual async Task SetAllExpirationAsync_WithInvalidItems_ValidatesCorrec
19011901
// Null expirations throws ArgumentNullException
19021902
await Assert.ThrowsAsync<ArgumentNullException>(async () =>
19031903
await cache.SetAllExpirationAsync(null!));
1904-
1904+
19051905
// Items containing empty key throws ArgumentException
19061906
var itemsWithEmptyKey = new Dictionary<string, TimeSpan?> { { "key1", TimeSpan.FromMinutes(5) }, { String.Empty, TimeSpan.FromMinutes(10) } };
19071907
await Assert.ThrowsAsync<ArgumentException>(async () => await cache.SetAllExpirationAsync(itemsWithEmptyKey));

src/Foundatio/Caching/HybridCacheClient.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Collections;
3-
using System.Collections.Concurrent;
42
using System.Collections.Generic;
53
using System.Collections.ObjectModel;
64
using System.Linq;

0 commit comments

Comments
 (0)