Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 322b957

Browse files
committed
spelling: circumference
Signed-off-by: Josh Soref <[email protected]>
1 parent 9db8307 commit 322b957

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

csharp/ql/src/Bad Practices/Magic Constants/MagicConstantsNumbers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public double area()
55
{
66
return Math.Pow(radius, 2) * 3.14;
77
}
8-
public double circumfrence()
8+
public double circumference()
99
{
1010
return radius * 2 * 3.14;
1111
}

csharp/ql/src/Bad Practices/Magic Constants/MagicNumbersUseConstant.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public double area()
66
{
77
return Math.Pow(radius, 2) * 3.14; // BAD: use the "Pi" constant
88
}
9-
public double circumfrence()
9+
public double circumference()
1010
{
1111
return radius * 2 * 3.14; // BAD: use the "Pi" constant
1212
}

0 commit comments

Comments
 (0)