diff --git a/ruffy-spi/src/main/java/de/jotomo/ruffy/spi/BasalProfile.java b/ruffy-spi/src/main/java/de/jotomo/ruffy/spi/BasalProfile.java index d24364b8f1..bef343fdb5 100644 --- a/ruffy-spi/src/main/java/de/jotomo/ruffy/spi/BasalProfile.java +++ b/ruffy-spi/src/main/java/de/jotomo/ruffy/spi/BasalProfile.java @@ -1,13 +1,9 @@ package de.jotomo.ruffy.spi; public class BasalProfile { - public final int number; public final double[] hourlyRates; - public BasalProfile(int number, double[] hourlyRates) { - this.number = number; - if (hourlyRates.length != 24) - throw new IllegalArgumentException("Profile must have 24 hourly rates"); + public BasalProfile( double[] hourlyRates) { this.hourlyRates = hourlyRates; } }