Skip to content

Commit

Permalink
ICU4N.Text.CanonicalIterator: Removed static constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
NightOwl888 committed Oct 17, 2019
1 parent faa4e68 commit 9255c46
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/ICU4N/Text/CanonicalIterator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -484,11 +484,7 @@ private static int getClass(int cp) {
// TODO: Flatten this data so it doesn't have to be reconstructed each time!

//private static final UnicodeSet EMPTY = new UnicodeSet(); // constant, don't change
private static readonly ISet<string> SET_WITH_NULL_STRING = new HashSet<string>(); // constant, don't change
static CanonicalIterator()
{
SET_WITH_NULL_STRING.Add("");
}
private static readonly ISet<string> SET_WITH_NULL_STRING = new HashSet<string> { string.Empty }; // constant, don't change

// private static UnicodeSet SAFE_START = new UnicodeSet();
// private static CharMap AT_START = new CharMap();
Expand Down

0 comments on commit 9255c46

Please sign in to comment.