#23 small adjustments
This commit is contained in:
parent
670938ef85
commit
d2b8fe4ba2
|
@ -32,7 +32,7 @@ public class WeatherGradenTaskPlanner {
|
||||||
|
|
||||||
Task preHailTask = new Task("Hail",
|
Task preHailTask = new Task("Hail",
|
||||||
"During a summer Thunderstorm it could hail heavily. THe Hail could damage the crops. To prevent damage cover the plants with a strong tarpaulin",
|
"During a summer Thunderstorm it could hail heavily. THe Hail could damage the crops. To prevent damage cover the plants with a strong tarpaulin",
|
||||||
dateSevereWeather);
|
dateSevereWeather.minusDays(1L));
|
||||||
preHailTask.withId(Long.MAX_VALUE);
|
preHailTask.withId(Long.MAX_VALUE);
|
||||||
taskList.saveTask(preHailTask);
|
taskList.saveTask(preHailTask);
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ public class WeatherGradenTaskPlanner {
|
||||||
public void createPreFrost() throws IOException {
|
public void createPreFrost() throws IOException {
|
||||||
Task preFrostTask = new Task("Frost",
|
Task preFrostTask = new Task("Frost",
|
||||||
"The temperatur falls below zero degrees, cover especially the root with wool",
|
"The temperatur falls below zero degrees, cover especially the root with wool",
|
||||||
dateSevereWeather);
|
dateSevereWeather.minusDays(1L));
|
||||||
preFrostTask.withId(Long.MAX_VALUE);
|
preFrostTask.withId(Long.MAX_VALUE);
|
||||||
taskList.saveTask(preFrostTask);
|
taskList.saveTask(preFrostTask);
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ public class WeatherGradenTaskPlanner {
|
||||||
public void createPreSnow() throws IOException {
|
public void createPreSnow() throws IOException {
|
||||||
Task preSnowTask = new Task("Snow",
|
Task preSnowTask = new Task("Snow",
|
||||||
"The weather brings little snowfall. Cover your crops",
|
"The weather brings little snowfall. Cover your crops",
|
||||||
dateSevereWeather);
|
dateSevereWeather.minusDays(1L));
|
||||||
preSnowTask.withId(Long.MAX_VALUE);
|
preSnowTask.withId(Long.MAX_VALUE);
|
||||||
taskList.saveTask(preSnowTask);
|
taskList.saveTask(preSnowTask);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue