Mercurial > mxd2map
diff src/java/de/intevation/mxd/utils/MapToXMLUtils.java @ 137:cd55975ba0c4
Done some minor reformatings.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 23 Jun 2011 16:59:29 +0200 |
parents | 6b80d2c7536e |
children | f3a91cd7440b |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/utils/MapToXMLUtils.java Thu Jun 23 13:27:30 2011 +0200 +++ b/src/java/de/intevation/mxd/utils/MapToXMLUtils.java Thu Jun 23 16:59:29 2011 +0200 @@ -106,15 +106,15 @@ return; } else if(list.getLength() > 1) { - return; + return; } else { - try { + try { list.item(0).removeChild(layerElement); - } - catch(DOMException de) { - return; - } + } + catch(DOMException de) { + return; + } } }