From 0dba553ebe6051bdd845a2ce1b06ec648b9e51ec Mon Sep 17 00:00:00 2001 From: Bart Sopers Date: Wed, 26 Aug 2020 13:50:17 +0200 Subject: [PATCH] Remove redundant null checks --- .../plugins/pump/omnipod/manager/AapsPodStateManager.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/manager/AapsPodStateManager.java b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/manager/AapsPodStateManager.java index dc99cc5d15..a51da49f01 100644 --- a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/manager/AapsPodStateManager.java +++ b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/manager/AapsPodStateManager.java @@ -15,14 +15,6 @@ public class AapsPodStateManager extends PodStateManager { @Inject public AapsPodStateManager(AAPSLogger aapsLogger, SP sp) { super(aapsLogger); - - if (aapsLogger == null) { - throw new IllegalArgumentException("aapsLogger can not be null"); - } - if (sp == null) { - throw new IllegalArgumentException("sp can not be null"); - } - this.sp = sp; }