Skip to content

Commit

Permalink
Fix whitespace (#1499)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-strecker-sonarsource committed Jan 25, 2023
1 parent cf067a2 commit 2097c8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/S2197/csharp/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public bool IsOdd(int x)
----
public bool IsOdd(int x)
{
return x %2 != 0;
return x % 2 != 0;
}
----
or
Expand All @@ -25,7 +25,7 @@ or
----
public bool IsOdd(uint x)
{
return x %2 == 1;
return x % 2 == 1;
}
----

Expand Down

0 comments on commit 2097c8e

Please sign in to comment.