comparison src/java/de/intevation/mxd/writer/LineStyleWriter.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 9fd61f4ac0e3
children 0bde090506f9
comparison
equal deleted inserted replaced
179:f3a91cd7440b 180:f4eb506499f5
160 double[] vals = new double[10]; 160 double[] vals = new double[10];
161 double move = 0.0; 161 double move = 0.0;
162 int pos = 0; 162 int pos = 0;
163 for(int i = 0; i < count; i++) { 163 for(int i = 0; i < count; i++) {
164 double mark = 164 double mark =
165 Double.parseDouble(symbolElement.getAttribute("mark_" + i)); 165 Double.parseDouble(symbolElement.getAttribute("mark_" +
166 i));
166 double gap = 167 double gap =
167 Double.parseDouble(symbolElement.getAttribute("gap_" + i)); 168 Double.parseDouble(symbolElement.getAttribute("gap_" +
169 i));
168 if(i == 0 && mark == 0.0) { 170 if(i == 0 && mark == 0.0) {
169 move = gap; 171 move = gap;
170 } 172 }
171 else if(i == count - 1 && move > 0.0) { 173 else if(i == count - 1 && move > 0.0) {
172 vals[pos++] = mark; 174 vals[pos++] = mark;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)