changeset 8785:d55cbb45c565

It comes already ordered from the database.
author Tom Gottfried <tom@intevation.de>
date Tue, 08 Dec 2015 18:44:41 +0100
parents 6714e07e18c2
children 0beb34d55630
files artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/BedQualityDistanceSelect.java
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/BedQualityDistanceSelect.java	Tue Dec 08 18:10:18 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/BedQualityDistanceSelect.java	Tue Dec 08 18:44:41 2015 +0100
@@ -10,7 +10,6 @@
 
 import java.util.Date;
 import java.util.List;
-import java.util.Collections;
 
 import org.w3c.dom.Element;
 
@@ -79,9 +78,6 @@
             return ele;
         }
 
-        Collections.sort(blKms);
-        Collections.sort(bKms);
-
         double start = Math.min(bKms.get(0), blKms.get(0));
         double end = Math.max(
             bKms.get(bKms.size()-1), blKms.get(blKms.size()-1));

http://dive4elements.wald.intevation.org