From 2c8b3d65f2020cfcb3b3745d962cc00f8457ee12 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 29 Jan 2014 20:53:18 +0700 Subject: Cleanup various warnings, and reformatting --- crypto/src/util/IMemoable.cs | 2 +- crypto/src/util/MemoableResetException.cs | 40 +++++++++++++++---------------- 2 files changed, 21 insertions(+), 21 deletions(-) (limited to 'crypto/src/util') diff --git a/crypto/src/util/IMemoable.cs b/crypto/src/util/IMemoable.cs index befc10fbf..cc8a2e55b 100644 --- a/crypto/src/util/IMemoable.cs +++ b/crypto/src/util/IMemoable.cs @@ -20,7 +20,7 @@ namespace Org.BouncyCastle.Utilities /// Implementations of this method should try to avoid or minimise memory allocation to perform the reset. /// /// an object originally {@link #copy() copied} from an object of the same type as this instance. - /// if the provided object is not of the correct type. + /// if the provided object is not of the correct type. /// if the other parameter is in some other way invalid. void Reset(IMemoable other); } diff --git a/crypto/src/util/MemoableResetException.cs b/crypto/src/util/MemoableResetException.cs index d9542dab2..99554f6c2 100644 --- a/crypto/src/util/MemoableResetException.cs +++ b/crypto/src/util/MemoableResetException.cs @@ -2,26 +2,26 @@ using System; namespace Org.BouncyCastle.Utilities { - /** - * Exception to be thrown on a failure to reset an object implementing Memoable. - *

- * The exception extends ClassCastException to enable users to have a single handling case, - * only introducing specific handling of this one if required. - *

- */ - public class MemoableResetException - : InvalidCastException - { - /** - * Basic Constructor. - * - * @param msg message to be associated with this exception. - */ - public MemoableResetException(string msg) - : base(msg) - { - } - } + /** + * Exception to be thrown on a failure to reset an object implementing Memoable. + *

+ * The exception extends InvalidCastException to enable users to have a single handling case, + * only introducing specific handling of this one if required. + *

+ */ + public class MemoableResetException + : InvalidCastException + { + /** + * Basic Constructor. + * + * @param msg message to be associated with this exception. + */ + public MemoableResetException(string msg) + : base(msg) + { + } + } } -- cgit 1.5.1