diff --git a/src/TextMateSharp/Internal/Grammars/Token.cs b/src/TextMateSharp/Internal/Grammars/Token.cs index 7bb40a7..7528c1e 100644 --- a/src/TextMateSharp/Internal/Grammars/Token.cs +++ b/src/TextMateSharp/Internal/Grammars/Token.cs @@ -31,7 +31,7 @@ public override string ToString() s.Append(EndIndex); s.Append(", scopes: "); s.Append(string.Join(", ", Scopes)); - s.Append("}"); + s.Append('}'); return s.ToString(); } } diff --git a/src/TextMateSharp/Model/DecodeMap.cs b/src/TextMateSharp/Model/DecodeMap.cs index e2f43db..36b7bd6 100644 --- a/src/TextMateSharp/Model/DecodeMap.cs +++ b/src/TextMateSharp/Model/DecodeMap.cs @@ -68,7 +68,7 @@ public string GetToken(Dictionary tokenMap) } else { - result.Append("."); + result.Append('.'); result.Append(this._tokenIdToToken[i]); } }