[PATCH] Reihenfolge fix

Wald Commits scm-commit at wald.intevation.org
Thu Aug 30 12:11:13 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1535623868 -7200
# Node ID a41f5f7c0b4ae20079411f71b6e45782cf48d1db
# Parent  be9bd06a1e3f8952e3e404a271ed05a74b0d3bbc
Reihenfolge fix

diff -r be9bd06a1e3f -r a41f5f7c0b4a gwt-client/src/main/java/org/dive4elements/river/client/client/ui/AbstractWQAdaptedInputPanel.java
--- 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>();


More information about the Dive4Elements-commits mailing list