Mercurial > mxd2map
diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 243:df4e0946ef02
Added LGPL header.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 09 Aug 2011 14:24:51 +0200 |
parents | 8aefef8a1626 |
children | 276f63c86f1c |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java Tue Aug 09 13:50:45 2011 +0200 +++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java Tue Aug 09 14:24:51 2011 +0200 @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2011 by Intevation GmbH, Germany <info@intevation.de> + * + * This file is part of MXD2map. + * + * This program is free software under the LGPL (>=v2.1) + * Read the file LICENCE.txt coming with the software for details + * or visit http://www.gnu.org/licenses/ if it does not exist. + * + * MXD2map has been developed on behalf of the + * Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg + * by Intevation GmbH. + * + * Authors: + * Raimund Renkert <raimund.renkert@intevation.de> + * Bjoern Schilberg <bjoern.schilberg@intevation.de> + * Stephan Holl <stephan.holl@intevation.de> + */ + package de.intevation.mxd.writer; import org.apache.log4j.Logger; @@ -607,10 +626,10 @@ return ""; } String tmp = s.trim(); - tmp = tmp.replace ("ö", "oe"); - tmp = tmp.replace ("ä", "ae"); - tmp = tmp.replace ("ü", "ue"); - tmp = tmp.replace ("ß", "ss"); + tmp = tmp.replace ("ö", "oe"); + tmp = tmp.replace ("ä", "ae"); + tmp = tmp.replace ("ü", "ue"); + tmp = tmp.replace ("ß", "ss"); tmp = tmp.replace ("/", ""); tmp = tmp.replace (",", ""); if(!s.equals(tmp)) {