refactor: update naming

This commit is contained in:
Anna 2020-12-18 00:43:07 -05:00
parent 4f24b2aa51
commit 34c679b189
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0

View File

@ -48,7 +48,7 @@ namespace NoSoliciting {
['\ue0b0'] = "E", ['\ue0b0'] = "E",
}; };
private const char lowestReplacement = '\ue022'; private const char LowestReplacement = '\ue022';
public static string Normalise(string input) { public static string Normalise(string input) {
if (input == null) { if (input == null) {
@ -58,7 +58,7 @@ namespace NoSoliciting {
// replace ffxiv private use chars // replace ffxiv private use chars
var builder = new StringBuilder(input.Length); var builder = new StringBuilder(input.Length);
foreach (char c in input) { foreach (char c in input) {
if (c < lowestReplacement) { if (c < LowestReplacement) {
goto AppendNormal; goto AppendNormal;
} }