changeset 9466:a41f5f7c0b4a

Reihenfolge fix
author gernotbelger
date Thu, 30 Aug 2018 12:11:08 +0200
parents be9bd06a1e3f
children 7d7aa54afe0c
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/AbstractWQAdaptedInputPanel.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/AbstractWQAdaptedInputPanel.java	Thu Aug 30 10:54:40 2018 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/AbstractWQAdaptedInputPanel.java	Thu Aug 30 12:11:08 2018 +0200
@@ -10,6 +10,7 @@
 
 import java.util.ArrayList;
 import java.util.HashMap;
+import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
 
@@ -67,7 +68,7 @@
     private static final String VALUE_SEPARATOR = ",";
 
     /** Stores the input panels related to their keys. */
-    protected Map<String, DoubleArrayPanel> wqranges;
+    protected LinkedHashMap<String, DoubleArrayPanel> wqranges;
 
     protected Map<String, Double> UDMap = new HashMap<String, Double>();
 
@@ -93,7 +94,7 @@
     private final Map<String, Double[]> gaugeNamesRange = new HashMap<String, Double[]>();
 
     public AbstractWQAdaptedInputPanel() {
-        this.wqranges = new HashMap<String, DoubleArrayPanel>();
+        this.wqranges = new LinkedHashMap<String, DoubleArrayPanel>();
         this.qranges = new HashMap<String, double[]>();
         this.wTables = new ArrayList<WTable>();
         this.qdTables = new ArrayList<QDTable>();

http://dive4elements.wald.intevation.org