# HG changeset patch # User Andre Heinecke # Date 1427473628 -3600 # Node ID 0d15ebafbd0ec452833b1e9f15afe5091c7f5da6 # Parent 97d60b0afe24c5876586c28a68910d9d0af88c63 (issue1755) Do not print empty rows for empty results in bedquality export diff -r 97d60b0afe24 -r 0d15ebafbd0e artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java --- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java Fri Mar 27 17:26:34 2015 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java Fri Mar 27 17:27:08 2015 +0100 @@ -55,6 +55,9 @@ for (BedQualityResult result: results) { cols += result.getValues().size(); } + if (cols == 1) { + return new ArrayList(); + } List rows = new ArrayList(kms.length); for (double km: kms) {