changeset 4240:4774902b0389

Use static String from FacetTypes.ChartType instead of literal.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 24 Oct 2012 14:35:59 +0200
parents 293a0d098606
children 49cb65d5932d
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java	Wed Oct 24 14:29:58 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java	Wed Oct 24 14:35:59 2012 +0200
@@ -62,7 +62,7 @@
         // For w_differences, also allow q-facets.
         if(filterFacets != null) {
             List<Facet> list = new ArrayList<Facet>();
-            List<Facet> wlist = filterFacets.get("longitudinal_section");
+            List<Facet> wlist = filterFacets.get(ChartType.LS);
             for (Facet f: wlist) {
                 if (!f.getName().equals(LONGITUDINAL_Q)) {
                     DefaultFacet df = new DefaultFacet(f.getIndex(),

http://dive4elements.wald.intevation.org