changeset 7929:86f5a1577cc6

Nasty little detail overlooked in last commit.
author "Tom Gottfried <tom@intevation.de>"
date Thu, 12 Jun 2014 12:29:03 +0200
parents 5b3c795385ef
children d3a4b0d5bcd8
files artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadCalculate.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;

http://dive4elements.wald.intevation.org