Skip to content

Commit

Permalink
Fix comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Dec 5, 2024
1 parent 000f20f commit 16ada56
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Lucene.Net/Util/UnicodeUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand All @@ -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;
}
}
Expand All @@ -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;
}
}
Expand Down Expand Up @@ -706,8 +706,8 @@ public static bool ValidUTF16String(ReadOnlySpan<char> s, int size)
}
}
else if (ch >= UNI_SUR_LOW_START && ch <= UNI_SUR_LOW_END)
// Unmatched low surrogate
{
// Unmatched low surrogate
return false;
}
}
Expand Down

0 comments on commit 16ada56

Please sign in to comment.