From be81bb886f32bda8dec71467b6957c1e86aab8e2 Mon Sep 17 00:00:00 2001 From: jbr7rr <> Date: Thu, 31 Aug 2023 08:45:03 +0200 Subject: [PATCH] Fix PR code smells --- .../plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pump/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt b/pump/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt index c1e12cecd2..dc3f00fe96 100644 --- a/pump/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt +++ b/pump/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt @@ -1254,8 +1254,7 @@ class OmnipodDashPumpPlugin @Inject constructor( if (expiryReminderDelay.isNegative) { aapsLogger.warn( LTag.PUMPBTCOMM, - "updateAlertConfiguration negative " + - "expiryAlertDuration=$expiryReminderDelay" + "updateAlertConfiguration negative expiryAlertDuration=$expiryReminderDelay" ) PumpEnactResult(injector).success(false).enacted(false) } @@ -1264,8 +1263,7 @@ class OmnipodDashPumpPlugin @Inject constructor( if (expiryAlarmDelay.isNegative) { aapsLogger.warn( LTag.PUMPBTCOMM, - "updateAlertConfiguration negative " + - "expiryAlarmDuration=$expiryAlarmDelay" + "updateAlertConfiguration negative expiryAlarmDuration=$expiryAlarmDelay" ) PumpEnactResult(injector).success(false).enacted(false) } @@ -1273,8 +1271,7 @@ class OmnipodDashPumpPlugin @Inject constructor( if (expiryImminentDelay.isNegative) { aapsLogger.warn( LTag.PUMPBTCOMM, - "updateAlertConfiguration negative " + - "expiryImminentDuration=$expiryImminentDelay" + "updateAlertConfiguration negative expiryImminentDuration=$expiryImminentDelay" ) PumpEnactResult(injector).success(false).enacted(false) }