From c987618bd57f1f2b929339045cdccb4ea3785c49 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Mon, 20 Dec 2021 14:18:48 +0100 Subject: [PATCH] Tidying up --- .../YellowStemborerTempModel.java | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/src/main/java/no/nibio/vips/model/yellowstemborertempmodel/YellowStemborerTempModel.java b/src/main/java/no/nibio/vips/model/yellowstemborertempmodel/YellowStemborerTempModel.java index 4180168..4ca7b02 100644 --- a/src/main/java/no/nibio/vips/model/yellowstemborertempmodel/YellowStemborerTempModel.java +++ b/src/main/java/no/nibio/vips/model/yellowstemborertempmodel/YellowStemborerTempModel.java @@ -20,8 +20,6 @@ package no.nibio.vips.model.yellowstemborertempmodel; import java.io.IOException; -import java.math.BigDecimal; -import java.math.BigInteger; import java.text.DecimalFormat; import java.text.ParseException; import java.text.SimpleDateFormat; @@ -218,32 +216,9 @@ public class YellowStemborerTempModel extends I18nImpl implements Model { @Override public String getSampleConfig() { - return "{\n" + - "\t\"loginInfo\":{\n" + - "\t\t\"username\":\"example\",\n" + - "\t\t\"password\":\"example\"\n" + - "\t},\n" + - "\t\"modelId\":\"" + MODEL_ID.toString() + "\",\n" + - "\t\"configParameters\":{\n" + - "\t\t\"timeZone\": \"Europe/Oslo\",\n" + - "\t\t\"observations\":[\n" + - "\t\t{\n" + - "\t\t\t\t\"timeMeasured\": \"2015-01-01T00:00:00+02:00\",\n" + - "\t\t\t\t\"elementMeasurementTypeId\":\"TN\",\n" + - "\t\t\t\t\"logIntervalId\":2,\n" + - "\t\t\t\t\"value\":10.1\n" + - "\t\t}.\n" + - "\t\t{\n" + - "\t\t\t\t\"timeMeasured\": \"2015-01-01T00:00:00+02:00\",\n" + - "\t\t\t\t\"elementMeasurementTypeId\":\"TX\",\n" + - "\t\t\t\t\"logIntervalId\":2,\n" + - "\t\t\t\t\"value\":25.1\n" + - "\t\t}\n" + - "]}\n"; + return "TODO"; } - - @Override public void setConfiguration(ModelConfiguration config) throws ConfigValidationException { @@ -413,7 +388,5 @@ public class YellowStemborerTempModel extends I18nImpl implements Model { today = cal.getTime(); } } - - } -- GitLab