From 9197c1efe1bc1fa76350c2eadfdae7b64d3caf5a Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Fri, 16 Feb 2024 23:03:26 +1100 Subject: [PATCH] clean up some whitespace (#1372) --- .../Localisation/NumberToWords/GreekNumberToWordsConverter.cs | 1 - .../Localisation/NumberToWords/MalteseNumberToWordsConvertor.cs | 1 - .../Localisation/NumberToWords/TamilNumberToWordsConverter.cs | 2 +- src/Humanizer/Localisation/Ordinalizers/RomanianOrdinalizer.cs | 1 - src/Humanizer/ToQuantityExtensions.cs | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Humanizer/Localisation/NumberToWords/GreekNumberToWordsConverter.cs b/src/Humanizer/Localisation/NumberToWords/GreekNumberToWordsConverter.cs index 02795106c..6c4988af9 100644 --- a/src/Humanizer/Localisation/NumberToWords/GreekNumberToWordsConverter.cs +++ b/src/Humanizer/Localisation/NumberToWords/GreekNumberToWordsConverter.cs @@ -144,7 +144,6 @@ private static string GetFourDigitOrdinal(int number) } return thousandsString; - } private string ConvertImpl(long number, bool returnPluralized) diff --git a/src/Humanizer/Localisation/NumberToWords/MalteseNumberToWordsConvertor.cs b/src/Humanizer/Localisation/NumberToWords/MalteseNumberToWordsConvertor.cs index 704ea120f..92b9bf186 100644 --- a/src/Humanizer/Localisation/NumberToWords/MalteseNumberToWordsConvertor.cs +++ b/src/Humanizer/Localisation/NumberToWords/MalteseNumberToWordsConvertor.cs @@ -231,7 +231,6 @@ private static string GetPrefixText(long thousands, long tensInThousands, string } return $"{GetHundreds(thousands, true, usePrefixMapForLowerValueDigits, gender)} {plural}"; - } } } diff --git a/src/Humanizer/Localisation/NumberToWords/TamilNumberToWordsConverter.cs b/src/Humanizer/Localisation/NumberToWords/TamilNumberToWordsConverter.cs index cc8906ab6..a89c550c1 100644 --- a/src/Humanizer/Localisation/NumberToWords/TamilNumberToWordsConverter.cs +++ b/src/Humanizer/Localisation/NumberToWords/TamilNumberToWordsConverter.cs @@ -206,8 +206,8 @@ private static string GetCroresValue(ref long number) number %= 10000000; return local_word; - } + private static string GetThousandsValue(ref long number) { var num_above_10 = number / 1000; diff --git a/src/Humanizer/Localisation/Ordinalizers/RomanianOrdinalizer.cs b/src/Humanizer/Localisation/Ordinalizers/RomanianOrdinalizer.cs index 823302b8b..fe2f8c01c 100644 --- a/src/Humanizer/Localisation/Ordinalizers/RomanianOrdinalizer.cs +++ b/src/Humanizer/Localisation/Ordinalizers/RomanianOrdinalizer.cs @@ -30,7 +30,6 @@ public override string Convert(int number, string numberString, GrammaticalGende } return $"al {numberString}-lea"; - } } } diff --git a/src/Humanizer/ToQuantityExtensions.cs b/src/Humanizer/ToQuantityExtensions.cs index 4bab224d0..ea69b3fc9 100644 --- a/src/Humanizer/ToQuantityExtensions.cs +++ b/src/Humanizer/ToQuantityExtensions.cs @@ -98,7 +98,6 @@ public static string ToQuantity(this string input, double quantity, string forma : input.Pluralize(inputIsKnownToBeSingular: false); return string.Format(formatProvider, "{0} {1}", quantity.ToString(format, formatProvider), transformedInput); - } ///