Fix PR code smells
This commit is contained in:
parent
5766738f9b
commit
be81bb886f
1 changed files with 3 additions and 6 deletions
|
@ -1254,8 +1254,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
|
||||||
if (expiryReminderDelay.isNegative) {
|
if (expiryReminderDelay.isNegative) {
|
||||||
aapsLogger.warn(
|
aapsLogger.warn(
|
||||||
LTag.PUMPBTCOMM,
|
LTag.PUMPBTCOMM,
|
||||||
"updateAlertConfiguration negative " +
|
"updateAlertConfiguration negative expiryAlertDuration=$expiryReminderDelay"
|
||||||
"expiryAlertDuration=$expiryReminderDelay"
|
|
||||||
)
|
)
|
||||||
PumpEnactResult(injector).success(false).enacted(false)
|
PumpEnactResult(injector).success(false).enacted(false)
|
||||||
}
|
}
|
||||||
|
@ -1264,8 +1263,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
|
||||||
if (expiryAlarmDelay.isNegative) {
|
if (expiryAlarmDelay.isNegative) {
|
||||||
aapsLogger.warn(
|
aapsLogger.warn(
|
||||||
LTag.PUMPBTCOMM,
|
LTag.PUMPBTCOMM,
|
||||||
"updateAlertConfiguration negative " +
|
"updateAlertConfiguration negative expiryAlarmDuration=$expiryAlarmDelay"
|
||||||
"expiryAlarmDuration=$expiryAlarmDelay"
|
|
||||||
)
|
)
|
||||||
PumpEnactResult(injector).success(false).enacted(false)
|
PumpEnactResult(injector).success(false).enacted(false)
|
||||||
}
|
}
|
||||||
|
@ -1273,8 +1271,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
|
||||||
if (expiryImminentDelay.isNegative) {
|
if (expiryImminentDelay.isNegative) {
|
||||||
aapsLogger.warn(
|
aapsLogger.warn(
|
||||||
LTag.PUMPBTCOMM,
|
LTag.PUMPBTCOMM,
|
||||||
"updateAlertConfiguration negative " +
|
"updateAlertConfiguration negative expiryImminentDuration=$expiryImminentDelay"
|
||||||
"expiryImminentDuration=$expiryImminentDelay"
|
|
||||||
)
|
)
|
||||||
PumpEnactResult(injector).success(false).enacted(false)
|
PumpEnactResult(injector).success(false).enacted(false)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue