[PATCH 2 of 2] Merged

Wald Commits scm-commit at wald.intevation.org
Mon Jul 8 14:51:11 CEST 2013


# HG changeset patch
# User Christian Lins <christian.lins at intevation.de>
# Date 1373287859 -7200
# Node ID 455876ac59147e9af3d43a5f1547f52afff7312b
# Parent  7106f9b75004dd489329f78002aa52cb059e2e2a
# Parent  a4f60641e445b888119dfbf22124d443cdec5def
Merged

diff -r 7106f9b75004 -r 455876ac5914 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java	Mon Jul 08 13:59:24 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java	Mon Jul 08 14:50:59 2013 +0200
@@ -364,7 +364,7 @@
             Calendar toStart = Calendar.getInstance();
             toStart.set(eyear - 1, 11, 31);
             Calendar toEnd = Calendar.getInstance();
-            toEnd.set(eyear, 11, 30);
+            toEnd.set(eyear+1, 11, 31);
             sqlQuery = session.createSQLQuery(SQL_SELECT_EPOCHS_DATA)
                 .addScalar("description", StandardBasicTypes.STRING)
                 .addScalar("startYear", StandardBasicTypes.DATE)


More information about the Dive4elements-commits mailing list