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");
        this.hourlyRates = hourlyRates;
    }
}

@@ -55,37 +55,8 @@
 e %7B%0A
-    public final int number;%0A
     
@@ -119,19 +119,8 @@
 ile(
-int number,
  dou
@@ -144,161 +144,8 @@
 ) %7B%0A
-        this.number = number;%0A        if (hourlyRates.length != 24)%0A            throw new IllegalArgumentException(%22Profile must have 24 hourly rates%22);%0A
     

Remove basal rate profile number, only using one.