Fixed code style warnings · npgsql/npgsql@8a65d5b · GitHub
Skip to content

Commit 8a65d5b

Browse files
committed
Fixed code style warnings
1 parent c852f53 commit 8a65d5b

3 files changed

Lines changed: 7 additions & 10 deletions

File tree

‎src/Npgsql/NpgsqlDataAdapter.cs‎

Lines changed: 3 additions & 6 deletions

‎src/Npgsql/NpgsqlTypes/NpgsqlRange.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ public static NpgsqlRange<T> Parse([NotNull] string value)
416416
if (!upperInclusive && !upperExclusive)
417417
throw new FormatException("Malformed range literal. Missing right parenthesis or bracket.");
418418

419-
int separator = value.IndexOf(BoundSeparator);
419+
var separator = value.IndexOf(BoundSeparator);
420420

421421
if (separator == -1)
422422
throw new FormatException("Malformed range literal. Missing comma after lower bound.");

‎src/Npgsql/TypeMapping/TypeMappingAttribute.cs‎

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)