From 501fddd72da80b03f74bb7915b9f73c735229ecb Mon Sep 17 00:00:00 2001 From: crain Date: Mon, 28 Dec 2020 16:56:20 +0500 Subject: [PATCH] fix static analysis issues --- .../touchin/roboswag/views/widget/AmountWithDecimalDecorator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/src/main/java/ru/touchin/roboswag/views/widget/AmountWithDecimalDecorator.kt b/views/src/main/java/ru/touchin/roboswag/views/widget/AmountWithDecimalDecorator.kt index 526f5a1..e98a212 100644 --- a/views/src/main/java/ru/touchin/roboswag/views/widget/AmountWithDecimalDecorator.kt +++ b/views/src/main/java/ru/touchin/roboswag/views/widget/AmountWithDecimalDecorator.kt @@ -47,7 +47,7 @@ class AmountWithDecimalDecorator( fun getTextWithoutFormatting(decimalSeparatorToReplace: String = decimalSeparator): String = previousInputtedText.withoutFormatting(decimalSeparatorToReplace) - @Suppress("detekt.TooGenericExceptionCaught") + @Suppress("detekt.TooGenericExceptionCaught", "detekt.LongMethod", "detekt.ComplexMethod") private fun doOnTextChanged(text: String) { if (isTextWasArtificiallyChanged) { isTextWasArtificiallyChanged = false