Mercurial > dive4elements > river
changeset 4610:497bc73ca64a
Fix: Don't show the warning if datatype is WQKms
Add a missing return to not show the warning. WQKms data objects are already
handled correctly in the ComputedDischargeCurveExporter.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 30 Nov 2012 16:06:03 +0100 |
parents | 7898117a0730 |
children | 526fd442e0e5 |
files | flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java Fri Nov 30 10:21:09 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java Fri Nov 30 16:06:03 2012 +0100 @@ -83,6 +83,7 @@ } else if (d instanceof WQKms) { data.add((WQKms)d); + return; } logger.warn("Can't add data for csv export. Unkown data type " + d.getClass().getName());