From 0afee05c8b2122d024cb2d8ed99bdfdada8a59b7 Mon Sep 17 00:00:00 2001 From: Paul Irwin Date: Wed, 4 Dec 2024 20:45:57 -0700 Subject: [PATCH] Fix comment formatting --- src/Lucene.Net/Util/UnicodeUtil.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Lucene.Net/Util/UnicodeUtil.cs b/src/Lucene.Net/Util/UnicodeUtil.cs index 3069ef0379..75af2b53ea 100644 --- a/src/Lucene.Net/Util/UnicodeUtil.cs +++ b/src/Lucene.Net/Util/UnicodeUtil.cs @@ -578,20 +578,20 @@ public static bool ValidUTF16String(ICharSequence s) // Valid surrogate pair } else - // Unmatched high surrogate { + // Unmatched high surrogate return false; } } else - // Unmatched high surrogate { + // Unmatched high surrogate return false; } } else if (ch >= UNI_SUR_LOW_START && ch <= UNI_SUR_LOW_END) - // Unmatched low surrogate { + // Unmatched low surrogate return false; } } @@ -617,20 +617,20 @@ public static bool // Valid surrogate pair } else - // Unmatched high surrogate { + // Unmatched high surrogate return false; } } else - // Unmatched high surrogate { + // Unmatched high surrogate return false; } } else if (ch >= UNI_SUR_LOW_START && ch <= UNI_SUR_LOW_END) - // Unmatched low surrogate { + // Unmatched low surrogate return false; } } @@ -657,20 +657,20 @@ public static bool // Valid surrogate pair } else - // Unmatched high surrogate { + // Unmatched high surrogate return false; } } else - // Unmatched high surrogate { + // Unmatched high surrogate return false; } } else if (ch >= UNI_SUR_LOW_START && ch <= UNI_SUR_LOW_END) - // Unmatched low surrogate { + // Unmatched low surrogate return false; } } @@ -706,8 +706,8 @@ public static bool ValidUTF16String(ReadOnlySpan s, int size) } } else if (ch >= UNI_SUR_LOW_START && ch <= UNI_SUR_LOW_END) - // Unmatched low surrogate { + // Unmatched low surrogate return false; } }