[PATCH 2 of 2] issue1433: Update caller for last commit
Wald Commits
scm-commit at wald.intevation.org
Tue Aug 6 12:16:31 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1375784781 -7200
# Node ID 9cc0b03656fb6eee1a35a1bc50a975319e3c9e27
# Parent 91c43293e53845d58864a1c43a981bbff0d33397
issue1433: Update caller for last commit.
diff -r 91c43293e538 -r 9cc0b03656fb artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadCalculate.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadCalculate.java Tue Aug 06 12:25:53 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadCalculate.java Tue Aug 06 12:26:21 2013 +0200
@@ -140,10 +140,6 @@
return res;
}
- String river = access.getRiver();
- SedimentLoad[] unknown =
- SedimentLoadFactory.getSedimentLoadUnknown(river, access.getUnit().replace("_per_","/"));
-
String type = access.getYearEpoch();
if (type.equals("year")) {
generateYearFacets(context, newFacets, results, getID(), hash);
@@ -155,6 +151,12 @@
generateOffEpochFacets(context, newFacets, results, getID(), hash);
}
logger.debug("Created " + newFacets.size() + " new Facets.");
+
+ String river = access.getRiver();
+ SedimentLoad[] unknown =
+ SedimentLoadFactory.getSedimentLoadUnknown(river,
+ access.getUnit().replace("_per_","/"), type);
+
if (res.getReport().hasProblems()) {
newFacets.add(new ReportFacet(ComputeType.ADVANCE, hash, id));
}
More information about the Dive4elements-commits
mailing list