# HG changeset patch # User Felix Wolfsteller # Date 1351068156 -7200 # Node ID e972d8ea8555c03aaf4976fe030ef9a49018715b # Parent adcb8aee1910d8d790ccfdfdd9a77f143b62c0a2 Use FacetType static String instead of literal. diff -r adcb8aee1910 -r e972d8ea8555 flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java --- 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 list = new ArrayList(); List 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);