comparison artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.java @ 6610:8d88db1f5d36

Add quick hack to fix the exported name of Amtl.Fixierungen
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 18 Jul 2013 17:53:56 +0200
parents 3d23f606512f
children b1e66ea7fc2b
comparison
equal deleted inserted replaced
6609:6d55614d6f87 6610:8d88db1f5d36
639 if (colDesc == null) { 639 if (colDesc == null) {
640 colDesc = ((D4EArtifact)master).getDataAsString("wq_single"); 640 colDesc = ((D4EArtifact)master).getDataAsString("wq_single");
641 } 641 }
642 } 642 }
643 } 643 }
644 if (colDesc != null) {
645 /* Quick hack. Can be removed when database strings are
646 * adapted or left in here as it should never be harmful. */
647 colDesc = colDesc.replace("Amtl.Festlegung_", "Amtl. ");
648 }
649
644 return colDesc == null ? "" : colDesc; 650 return colDesc == null ? "" : colDesc;
645 } 651 }
646 652
647 /** 653 /**
648 * Write "rows" of csv data from wqkms with writer. 654 * Write "rows" of csv data from wqkms with writer.

http://dive4elements.wald.intevation.org