diff src/java/de/intevation/mxd/reader/SimpleRendererReader.java @ 135:a4ab239509f1

Updated the default values and reader error handling.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 22 Jun 2011 13:55:22 +0200
parents c8a1361ddd38
children 0bde090506f9
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/SimpleRendererReader.java	Wed Jun 22 12:01:28 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/SimpleRendererReader.java	Wed Jun 22 13:55:22 2011 +0200
@@ -89,10 +89,7 @@
                 renderer.getDescription());
         }
         catch(IOException ioe) {
-            logger.warn(
-                "Could not read description." +
-                " Setting empty description.");
-            rendererElement.setAttribute("description", "");
+            logger.warn("Could not read description.");
         }
 
         try {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)