Mercurial > dive4elements > river
changeset 4234:e972d8ea8555
Use FacetType static String instead of literal.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 24 Oct 2012 10:42:36 +0200 |
parents | adcb8aee1910 |
children | 89083b82b8cd |
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 Tue Oct 23 16:07:39 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java Wed Oct 24 10:42:36 2012 +0200 @@ -64,7 +64,7 @@ List<Facet> list = new ArrayList<Facet>(); List<Facet> wlist = filterFacets.get("longitudinal_section"); for (Facet f: wlist) { - if (!f.getName().equals("longitudinal_section.q")) { + if (!f.getName().equals(LONGITUDINAL_Q)) { DefaultFacet df = new DefaultFacet(f.getIndex(), "longitudinal_section.q", ""); list.add(df);