This commit is contained in:
AdrianLxM 2018-04-27 00:03:08 +02:00
parent 9889d34512
commit 3631f685e2

View file

@ -366,7 +366,6 @@ public class TreatmentsPlugin extends PluginBase implements TreatmentsInterface
for (Integer pos = 0; pos < extendedBoluses.size(); pos++) { for (Integer pos = 0; pos < extendedBoluses.size(); pos++) {
ExtendedBolus e = extendedBoluses.get(pos); ExtendedBolus e = extendedBoluses.get(pos);
if (e.date > time) continue; if (e.date > time) continue;
IobTotal calc; IobTotal calc;
if(truncate && e.end() > truncateTime){ if(truncate && e.end() > truncateTime){
ExtendedBolus dummyExt = new ExtendedBolus(); ExtendedBolus dummyExt = new ExtendedBolus();