[PATCH] Nasty little detail overlooked in last commit

Wald Commits scm-commit at wald.intevation.org
Thu Jun 12 12:29:22 CEST 2014


# HG changeset patch
# User "Tom Gottfried <tom at intevation.de>"
# Date 1402568943 -7200
# Node ID 86f5a1577cc61254cac5593aebb0dc1bd72f10d4
# Parent  5b3c795385ef1006514a54f3e877b293ef49e6b5
Nasty little detail overlooked in last commit.

diff -r 5b3c795385ef -r 86f5a1577cc6 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	Thu Jun 12 12:26:05 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadCalculate.java	Thu Jun 12 12:29:03 2014 +0200
@@ -105,7 +105,7 @@
                                 Date s =
                                     DateUtil.getStartDateFromYear(date[0]);
                                 Date e =
-                                    DateUtil.getEndDateFromYear(date[0]);
+                                    DateUtil.getEndDateFromYear(date[1]);
                                 if (!(s.after(load.getEnd()) ||
                                       e.before(load.getStart()))) {
                                     return Boolean.TRUE;


More information about the Dive4Elements-commits mailing list