diff --git a/app/src/main/java/info/nightscout/androidaps/db/DatabaseHelper.java b/app/src/main/java/info/nightscout/androidaps/db/DatabaseHelper.java index 56b5cb7ffb..c23d797c8c 100644 --- a/app/src/main/java/info/nightscout/androidaps/db/DatabaseHelper.java +++ b/app/src/main/java/info/nightscout/androidaps/db/DatabaseHelper.java @@ -419,7 +419,7 @@ public class DatabaseHelper extends OrmLiteSqliteOpenHelper { /* * Return last BgReading from database or null if db is empty */ - @NullablecreateTemptargetFromJsonIfNotExists + @Nullable public static BgReading lastBg() { List bgList = IobCobCalculatorPlugin.getPlugin().getBgReadings();