changeset 8715:b5cff23bf308

(issue1448) There is no more need for off_epoch infos
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 24 Apr 2015 18:03:46 +0200
parents 4e8c80ff07e3
children b5ac17a10d22
files artifacts/src/main/java/org/dive4elements/river/artifacts/services/SedimentLoadInfoService.java
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/services/SedimentLoadInfoService.java	Fri Apr 24 18:01:18 2015 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/services/SedimentLoadInfoService.java	Fri Apr 24 18:03:46 2015 +0200
@@ -84,9 +84,7 @@
 
         log.debug("Requested type: " + type + " with sq_ti_id: " + sq_ti_id);
         Collection <Load> loads;
-        if (type.equals("off_epoch")) {
-            loads = allLoadData.findUniqueTiOfficialLoads(fromD, toD);
-        } else if (type.equals("sq_time_intervals")) {
+        if (type.equals("sq_time_intervals")) {
             loads = allLoadData.findUniqueTimeIntervalLoads(fromD, toD);
 
             for (Iterator<Load> it = loads.iterator(); it.hasNext();) {

http://dive4elements.wald.intevation.org