Mercurial > dive4elements > river
changeset 3224:075f1ba25758
issue654
flys-artifacts/trunk@4850 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 02 Jul 2012 13:46:12 +0000 (2012-07-02) |
parents | 282c9da923ab |
children | 049ccd2c5935 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/LegendProcessor.java |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Mon Jul 02 10:13:00 2012 +0000 +++ b/flys-artifacts/ChangeLog Mon Jul 02 13:46:12 2012 +0000 @@ -1,3 +1,10 @@ +2012-07-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + issue654. + + * src/main/java/de/intevation/flys/exports/LegendProcessor.java: + Do not include type in hash for legend item. + 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/LegendProcessor.java Mon Jul 02 10:13:00 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/LegendProcessor.java Mon Jul 02 13:46:12 2012 +0000 @@ -51,12 +51,12 @@ // boolean isShapeVisible() String hash = li.getLinePaint().toString(); String label = li.getLabel(); - if (label.startsWith("W (") || label.startsWith("W(")) { + /*if (label.startsWith("W (") || label.startsWith("W(")) { hash += "-W-"; } else if (label.startsWith("Q(") || label.startsWith("Q (")) { hash += "-Q-"; - } + }*/ // WQ.java holds example of using regex Matcher/Pattern.