Skip to content

Commit e020a41

Browse files
committed
Fix case typos
1 parent a07e0d8 commit e020a41

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

external/EntityFramework

src/Npgsql/NpgsqlTypes/NpgsqlTsQuery.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,11 @@ public static NpgsqlTsQuery Parse(string value)
204204
((NpgsqlTsQueryLexeme)valStack.Peek()).IsPrefixSearch = true;
205205
else if (ch == 'a' || ch == 'A')
206206
((NpgsqlTsQueryLexeme)valStack.Peek()).Weights |= NpgsqlTsQueryLexeme.Weight.A;
207-
else if (ch == 'b' || ch == 'b')
207+
else if (ch == 'b' || ch == 'B')
208208
((NpgsqlTsQueryLexeme)valStack.Peek()).Weights |= NpgsqlTsQueryLexeme.Weight.B;
209-
else if (ch == 'c' || ch == 'c')
209+
else if (ch == 'c' || ch == 'C')
210210
((NpgsqlTsQueryLexeme)valStack.Peek()).Weights |= NpgsqlTsQueryLexeme.Weight.C;
211-
else if (ch == 'd' || ch == 'd')
211+
else if (ch == 'd' || ch == 'D')
212212
((NpgsqlTsQueryLexeme)valStack.Peek()).Weights |= NpgsqlTsQueryLexeme.Weight.D;
213213
else
214214
goto PushedVal;
@@ -478,7 +478,7 @@ internal override void Write(StringBuilder sb, bool first = false)
478478
{
479479
if (!first)
480480
sb.Append("( ");
481-
481+
482482
Left.Write(sb);
483483
sb.Append(" | ");
484484
Right.Write(sb);

0 commit comments

Comments
 (0)