Skip to content

Commit b99ad40

Browse files
Apply suggestion from @Applesauce314
1 parent 3160630 commit b99ad40

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎UnitsNet/CustomCode/Quantities/Length.extra.cs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public static Length FromFeetInches(QuantityValue feet, QuantityValue inches)
4444
/// <returns>Parsed length.</returns>
4545
public static Length ParseFeetInches(string str, IFormatProvider? formatProvider = null)
4646
{
47-
if (str == null)
48-
throw new ArgumentNullException(nameof(str));
47+
if (str == null) throw new ArgumentNullException(nameof(str));
4948
if (!TryParseFeetInches(str, out Length result, formatProvider))
5049
{
5150
// A bit lazy, but I didn't want to duplicate this edge case implementation just to get more narrow exception descriptions.

0 commit comments

Comments
 (0)