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

Text update

parent f06a5e30
Branches
No related tags found
No related merge requests found
...@@ -180,7 +180,7 @@ public class RoughageService { ...@@ -180,7 +180,7 @@ public class RoughageService {
//System.out.println("observations.size=" + observations.size()); //System.out.println("observations.size=" + observations.size());
if(wUtil.getLastObservations(observations, "EPP", 1).isEmpty()) if(wUtil.getLastObservations(observations, "EPP", 1).isEmpty())
{ {
return Response.serverError().entity("Missing evaporation values for this weather station").build(); return Response.serverError().entity("Missing evaporation data for this weather station").build();
} }
WeatherObservation lastEPP = wUtil.getLastObservations(observations, "EPP", 1).get(0); WeatherObservation lastEPP = wUtil.getLastObservations(observations, "EPP", 1).get(0);
Date lastEPPDate = lastEPP.getTimeMeasured(); Date lastEPPDate = lastEPP.getTimeMeasured();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment