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

Refactoring Result object

parent 45333be9
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ public class RoughageNutritionModel implements Model {
while(resultMatrix.getValueLabelsForDate(resultDate) != null)
{
Result result = new ResultImpl();
result.setResultValidTime(resultDate);
result.setValidTimeStart(resultDate);
for(String label:resultMatrix.getValueLabelsForDate(resultDate))
{
result.setValue(this.getModelId().toString(), label, resultMatrix.getDefaultFormattedDoubleValue(resultDate, label));
......
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment