[PATCH] (issue1448) There is no more need for off_epoch infos

Wald Commits scm-commit at wald.intevation.org
Fri Apr 24 18:04:09 CEST 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1429891426 -7200
# Node ID b5cff23bf3083881f0ecaea3a854a405beb975eb
# Parent  4e8c80ff07e3fd4efa3bd8fbac3bd82bbecf86c3
(issue1448) There is no more need for off_epoch infos

diff -r 4e8c80ff07e3 -r b5cff23bf308 artifacts/src/main/java/org/dive4elements/river/artifacts/services/SedimentLoadInfoService.java
--- 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();) {


More information about the Dive4Elements-commits mailing list