From 32969f75ed80681b0d92ab95152f3cea2df1e63e Mon Sep 17 00:00:00 2001 From: Dominik Dzienia Date: Mon, 28 Aug 2023 15:31:33 +0200 Subject: [PATCH] Added comments to empty overrides to satisfy sonar lint --- .../activities/SmsCommunicatorOtpActivity.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/main/src/main/java/info/nightscout/plugins/general/smsCommunicator/activities/SmsCommunicatorOtpActivity.kt b/plugins/main/src/main/java/info/nightscout/plugins/general/smsCommunicator/activities/SmsCommunicatorOtpActivity.kt index d238d243f4..afab5ab0ab 100644 --- a/plugins/main/src/main/java/info/nightscout/plugins/general/smsCommunicator/activities/SmsCommunicatorOtpActivity.kt +++ b/plugins/main/src/main/java/info/nightscout/plugins/general/smsCommunicator/activities/SmsCommunicatorOtpActivity.kt @@ -70,9 +70,13 @@ class SmsCommunicatorOtpActivity : TranslatedDaggerAppCompatActivity() { ) } - override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {} + override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) { + /* left blank because we only need afterTextChanged */ + } - override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {} + override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) { + /* left blank because we only need afterTextChanged */ + } }) binding.otpReset.setOnClickListener {