changeset 1767:b2730e31ff5b

Store Facets without association to state id. flys-artifacts/trunk@3088 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 26 Oct 2011 12:45:34 +0000
parents 23b99572f725
children 41ba2276d785
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Oct 26 12:42:20 2011 +0000
+++ b/flys-artifacts/ChangeLog	Wed Oct 26 12:45:34 2011 +0000
@@ -1,3 +1,9 @@
+2011-10-26  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
+	  Do not store facets in a map from stateId to list of facets, but in
+	  a pure list instead.
+
 2011-10-26  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* doc/conf/artifacts/winfo.xml: Adjusted to newer semantics,
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java	Wed Oct 26 12:42:20 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java	Wed Oct 26 12:45:34 2011 +0000
@@ -77,7 +77,7 @@
                 state.computeInit(this, hash(), context, callMeta, fs);
 
                 if (!fs.isEmpty()) {
-                    facets.put(getCurrentStateId(), fs);
+                    facets.addAll(fs);
                 }
             }
             catch (NumberFormatException nfe) {

http://dive4elements.wald.intevation.org