From 2e2c7f8404b650e711f08c32f4c6be9119c65443 Mon Sep 17 00:00:00 2001 From: Paul Irwin Date: Sun, 13 Oct 2024 09:30:54 -0600 Subject: [PATCH] Make CharSequence implementations sealed, #80 --- src/J2N/Text/CharArrayCharSequence.cs | 2 +- src/J2N/Text/StringBuilderCharSequence.cs | 2 +- src/J2N/Text/StringCharSequence.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/J2N/Text/CharArrayCharSequence.cs b/src/J2N/Text/CharArrayCharSequence.cs index 72e46a68..a8856cbb 100644 --- a/src/J2N/Text/CharArrayCharSequence.cs +++ b/src/J2N/Text/CharArrayCharSequence.cs @@ -29,7 +29,7 @@ namespace J2N.Text /// /// A wrapper class that represents a and implements . /// - public class CharArrayCharSequence : ICharSequence, + public sealed class CharArrayCharSequence : ICharSequence, IComparable, IComparable, IComparable, IComparable, IComparable, IEquatable, diff --git a/src/J2N/Text/StringBuilderCharSequence.cs b/src/J2N/Text/StringBuilderCharSequence.cs index 9b7cc061..ac03f0a9 100644 --- a/src/J2N/Text/StringBuilderCharSequence.cs +++ b/src/J2N/Text/StringBuilderCharSequence.cs @@ -28,7 +28,7 @@ namespace J2N.Text /// /// A wrapper class that represents a and implements . /// - public class StringBuilderCharSequence : ICharSequence, IAppendable, + public sealed class StringBuilderCharSequence : ICharSequence, IAppendable, IComparable, IComparable, IComparable, IComparable, IComparable, IEquatable, diff --git a/src/J2N/Text/StringCharSequence.cs b/src/J2N/Text/StringCharSequence.cs index 3c47f972..713003da 100644 --- a/src/J2N/Text/StringCharSequence.cs +++ b/src/J2N/Text/StringCharSequence.cs @@ -28,7 +28,7 @@ namespace J2N.Text /// /// A wrapper class that represents a and implements . /// - public class StringCharSequence : ICharSequence, + public sealed class StringCharSequence : ICharSequence, IComparable, IComparable, IComparable, IComparable, IComparable, IEquatable,