comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityResult.java @ 8638:3c78fc83fc6d

(issue1755) Do not treat empty values as part of the result
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 27 Mar 2015 17:25:30 +0100
parents 07c9ac22f611
children
comparison
equal deleted inserted replaced
8637:5a5331dd3e8d 8638:3c78fc83fc6d
38 add(value); 38 add(value);
39 } 39 }
40 } 40 }
41 41
42 public void add(BedQualityResultValue value) { 42 public void add(BedQualityResultValue value) {
43 if (value.isEmpty()) {
44 return;
45 }
43 /* Add first is here to mimic the result sorting before 46 /* Add first is here to mimic the result sorting before
44 * a refactorization.*/ 47 * a refactorization.*/
45 values.addFirst(value); 48 values.addFirst(value);
46 } 49 }
47 50

http://dive4elements.wald.intevation.org