Mercurial > mxd2map
changeset 185:415101ff1ac2
Remove whitespaces from unique values string only if it is a concatenation of multiple values.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 20 Jul 2011 12:32:08 +0200 |
parents | c79c3c6fc99a |
children | 1391f911ee39 |
files | ChangeLog src/java/de/intevation/mxd/reader/UniqueValueRendererReader.java |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jul 20 12:23:57 2011 +0200 +++ b/ChangeLog Wed Jul 20 12:32:08 2011 +0200 @@ -1,3 +1,9 @@ +2011-07-20 Raimund Renkert <raimund.renkert@intevation.de> + + * src/java/de/intevation/mxd/UniqueValueRendererReader.java: + Remove whitespaces from value string only if it is a concatenation + of multiple values. + 2011-07-20 Raimund Renkert <raimund.renkert@intevation.de> * src/java/de/intevation/mxd/writer/FillStyleWriter.java,
--- a/src/java/de/intevation/mxd/reader/UniqueValueRendererReader.java Wed Jul 20 12:23:57 2011 +0200 +++ b/src/java/de/intevation/mxd/reader/UniqueValueRendererReader.java Wed Jul 20 12:32:08 2011 +0200 @@ -91,7 +91,7 @@ try { String value = renderer.getValue(i); - value = value.replaceAll(" ", ""); + value = value.replaceAll(", ", ","); if(value.indexOf(",") > 0) { int j = 0; while(value.indexOf(",") > 0) {