diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-08-09 10:57:47 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-08-09 10:57:47 +0700 |
commit | 45f9005c7d4694d1df67e8fdb211411eaf48438d (patch) | |
tree | 8eef25a1a1954090e4a20b158befe241a166e8d0 /crypto | |
parent | split NtruPrime into SNtruPrime, NtruLPRime (diff) | |
download | BouncyCastle.NET-ed25519-45f9005c7d4694d1df67e8fdb211411eaf48438d.tar.xz |
Remove unnecessary constraint
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/util/collections/CollectionUtilities.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/src/util/collections/CollectionUtilities.cs b/crypto/src/util/collections/CollectionUtilities.cs index 41b558130..26b3f2a1d 100644 --- a/crypto/src/util/collections/CollectionUtilities.cs +++ b/crypto/src/util/collections/CollectionUtilities.cs @@ -32,7 +32,6 @@ namespace Org.BouncyCastle.Utilities.Collections } public static T GetValueOrKey<T>(IDictionary<T, T> d, T k) - where T : class { return d.TryGetValue(k, out var v) ? v : k; } |