summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-08-09 10:57:47 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-08-09 10:57:47 +0700
commit45f9005c7d4694d1df67e8fdb211411eaf48438d (patch)
tree8eef25a1a1954090e4a20b158befe241a166e8d0
parentsplit NtruPrime into SNtruPrime, NtruLPRime (diff)
downloadBouncyCastle.NET-ed25519-45f9005c7d4694d1df67e8fdb211411eaf48438d.tar.xz
Remove unnecessary constraint
-rw-r--r--crypto/src/util/collections/CollectionUtilities.cs1
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; }