From 76c247df4599c532c89585586d491b0a0683435a Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@bioforsk.no> Date: Tue, 29 Oct 2013 16:42:25 +0100 Subject: [PATCH] Updated sample config --- .../vips/model/applescabmodel/AppleScabModel.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/no/bioforsk/vips/model/applescabmodel/AppleScabModel.java b/src/main/java/no/bioforsk/vips/model/applescabmodel/AppleScabModel.java index 1bc8ed2..d1e91e9 100644 --- a/src/main/java/no/bioforsk/vips/model/applescabmodel/AppleScabModel.java +++ b/src/main/java/no/bioforsk/vips/model/applescabmodel/AppleScabModel.java @@ -71,7 +71,7 @@ public class AppleScabModel extends I18nImpl implements Model{ private List<WeatherObservation> BT; // Helper class - private WeatherUtil weatherUtil; + private final WeatherUtil weatherUtil; public AppleScabModel() { @@ -193,8 +193,10 @@ public class AppleScabModel extends I18nImpl implements Model{ @Override public String getSampleConfig() { return "{\n" + - "\t\"username\":\"example\",\n" + - "\t\"password\":\"example\",\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" + @@ -207,7 +209,7 @@ public class AppleScabModel extends I18nImpl implements Model{ "\t\t\t\t\"value\":2.937\n" + "\t\t},\n" + "\t\t{\n" + - "\t\t\t\t\"timeMeasured\": \"2012-03-25T00:00:00+02:00+02:00\",\n" + + "\t\t\t\t\"timeMeasured\": \"2012-03-25T00:00:00+02:00\",\n" + "\t\t\t\t\"elementMeasurementTypeId\":\"RR\",\n" + "\t\t\t\t\"logIntervalId\":1,\n" + "\t\t\t\t\"value\":0\n" + -- GitLab