Mercurial > dive4elements > river
changeset 6544:b24dc0320b75
issue1386: Prevent null-ranges to be set when station of sediment measurement
does not match a measurement station.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 08 Jul 2013 11:41:10 +0200 (2013-07-08) |
parents | 1ca0688dddc7 |
children | a4f60641e445 7106f9b75004 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java Mon Jul 08 10:25:25 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java Mon Jul 08 11:41:10 2013 +0200 @@ -436,6 +436,7 @@ Range range = null; if (station == null) { log.warn("No measurement station for " + fraction + " km " + km); + continue; } else { if (nextStation != null)