Remove redundant null checks

This commit is contained in:
Bart Sopers 2020-08-26 13:50:17 +02:00
parent 14652ab917
commit 0dba553ebe

View file

@ -15,14 +15,6 @@ public class AapsPodStateManager extends PodStateManager {
@Inject @Inject
public AapsPodStateManager(AAPSLogger aapsLogger, SP sp) { public AapsPodStateManager(AAPSLogger aapsLogger, SP sp) {
super(aapsLogger); 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; this.sp = sp;
} }