Skip to content
Snippets Groups Projects
Commit 29ce04b1 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Refactoring Result object

parent e4ab273a
Branches
Tags
No related merge requests found
Pipeline #171 failed
...@@ -89,7 +89,7 @@ public class SeptoriaApiicolaModel extends I18nImpl implements Model{ ...@@ -89,7 +89,7 @@ public class SeptoriaApiicolaModel extends I18nImpl implements Model{
while(currentDate.compareTo(endDate) <= 0) while(currentDate.compareTo(endDate) <= 0)
{ {
Result result = new ResultImpl(); Result result = new ResultImpl();
result.setResultValidTime(currentDate); result.setValidTimeStart(currentDate);
Integer warningStatus = Result.WARNING_STATUS_NO_RISK; Integer warningStatus = Result.WARNING_STATUS_NO_RISK;
if(this.dataMatrix.getParamStringValueForDate(currentDate, DataMatrix.WET_DAY).equals(Boolean.TRUE.toString())) if(this.dataMatrix.getParamStringValueForDate(currentDate, DataMatrix.WET_DAY).equals(Boolean.TRUE.toString()))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment