changeset 8663:b78ca00d4659

Sorting rows is a prerequisite.
author "Tom Gottfried <tom@intevation.de>"
date Tue, 07 Apr 2015 12:10:45 +0200
parents c9b8ad659d5b
children b9e5fa7f7a28
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/WstValueTable.java
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WstValueTable.java	Tue Apr 07 11:20:36 2015 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WstValueTable.java	Tue Apr 07 12:10:45 2015 +0200
@@ -549,6 +549,10 @@
         this.columns = columns;
     }
 
+    /**
+     * @param columns The WST-columns.
+     * @param rows A list of Rows that must be sorted by km.
+     */
     public WstValueTable(Column [] columns, List<Row> rows) {
         this.columns = columns;
         this.rows    = rows;
@@ -558,11 +562,6 @@
         return columns;
     }
 
-    /** Sort rows (by km). */
-    public void sortRows() {
-        Collections.sort(rows);
-    }
-
     /**
      * @param km Given kilometer.
      * @param qs Given Q values.

http://dive4elements.wald.intevation.org