[Dive4elements-commits] [PATCH] Skip ConstantWQKms (Umhuellende) in exports

Wald Commits scm-commit at wald.intevation.org
Tue Feb 26 16:11:24 CET 2013


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1361891471 -3600
# Node ID 34baad34987f888de968c686c8be47b89679c410
# Parent  5f70c73b11ed740bc6a3fbef017d89300560e474
Skip ConstantWQKms (Umhuellende) in exports.

diff -r 5f70c73b11ed -r 34baad34987f flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java	Tue Feb 26 13:59:20 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java	Tue Feb 26 16:11:11 2013 +0100
@@ -577,6 +577,9 @@
 
         for (WQKms[] tmp: data) {
             for (WQKms wqkms: tmp) {
+                if (wqkms instanceof ConstantWQKms) {
+                    continue;
+                }
                 int size = wqkms != null ? wqkms.size() : 0;
 
                 addWSTColumn(writer, wqkms);


More information about the Dive4elements-commits mailing list