[Dive4elements-commits] [PATCH 2 of 7] SedimentLoadFactory: Added TODO
Wald Commits
scm-commit at wald.intevation.org
Wed Nov 7 09:42:51 CET 2012
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1352276459 -3600
# Node ID 5ec5e950bdad88d0dfe4299c66e95204b256a28a
# Parent b03f2e74025c21f72c554496f8e18bc1b07e9e70
SedimentLoadFactory: Added TODO.
diff -r b03f2e74025c -r 5ec5e950bdad flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFactory.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFactory.java Wed Nov 07 09:20:37 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFactory.java Wed Nov 07 09:20:59 2012 +0100
@@ -276,6 +276,7 @@
List<Object []> results = sqlQuery.list();
SedimentLoad load = new SedimentLoad();
Object[] row = results.get(0);
+ // TODO Handle empty result.
load = new SedimentLoad(
(String) row[0],
(Date) row[1],
More information about the Dive4elements-commits
mailing list