[Dive4elements-commits] [PATCH] Use static String from FacetTypes.ChartType instead of literal
Wald Commits
scm-commit at wald.intevation.org
Wed Oct 24 14:31:51 CEST 2012
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1351082159 -7200
# Node ID 4774902b0389d3b41d5bc244eb69db85da589df4
# Parent 293a0d0986062ba3552a45af571dc320a6955c18
Use static String from FacetTypes.ChartType instead of literal.
diff -r 293a0d098606 -r 4774902b0389 flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java
--- 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(),
More information about the Dive4elements-commits
mailing list