comparison src/java/de/intevation/mxd/reader/SimpleLineSymbolReader.java @ 180:f4eb506499f5

Done some code styling and removed TODOs.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 11 Jul 2011 12:11:08 +0200
parents 7b1433d3b574
children 0bde090506f9
comparison
equal deleted inserted replaced
179:f3a91cd7440b 180:f4eb506499f5
100 catch(IOException ioe) { 100 catch(IOException ioe) {
101 logger.warn("Could not read color."); 101 logger.warn("Could not read color.");
102 } 102 }
103 103
104 try { 104 try {
105 symbolElement.setAttribute("width", String.valueOf(symbol.getWidth())); 105 symbolElement.setAttribute(
106 "width",
107 String.valueOf(symbol.getWidth()));
106 } 108 }
107 catch(IOException ioe) { 109 catch(IOException ioe) {
108 logger.warn("Could not read width."); 110 logger.warn("Could not read width.");
109 } 111 }
110 112
124 case esriSimpleLineStyle.esriSLSDot: 126 case esriSimpleLineStyle.esriSLSDot:
125 symbolElement.setAttribute("linestyle", "dot"); break; 127 symbolElement.setAttribute("linestyle", "dot"); break;
126 case esriSimpleLineStyle.esriSLSDashDot: 128 case esriSimpleLineStyle.esriSLSDashDot:
127 symbolElement.setAttribute("linestyle", "dashdot"); break; 129 symbolElement.setAttribute("linestyle", "dashdot"); break;
128 case esriSimpleLineStyle.esriSLSDashDotDot: 130 case esriSimpleLineStyle.esriSLSDashDotDot:
129 symbolElement.setAttribute("linestyle", "dashdotdot"); break; 131 symbolElement.setAttribute("linestyle", "dashdotdot");
132 break;
130 default: break; 133 default: break;
131 } 134 }
132 135
133 symbolElement.setAttribute("type", "line"); 136 symbolElement.setAttribute("type", "line");
134 symbolElement.setAttribute("style", "simple"); 137 symbolElement.setAttribute("style", "simple");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)