Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ChartSettings.java @ 3405:b0ba96bbf01d
Use Integer.parseInt() instead of Integer.valueOf() + Autounboxing.
flys-artifacts/trunk@5057 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 19 Jul 2012 09:37:52 +0000 |
parents | 46b9391b122a |
children | dd6e25980c91 |
comparison
equal
deleted
inserted
replaced
3404:d7b065b88f10 | 3405:b0ba96bbf01d |
---|---|
213 logger.debug("Fount axis upper: '" + up + "'"); | 213 logger.debug("Fount axis upper: '" + up + "'"); |
214 } | 214 } |
215 | 215 |
216 section.setIdentifier(id); | 216 section.setIdentifier(id); |
217 section.setLabel(label); | 217 section.setLabel(label); |
218 section.setFontSize(Integer.valueOf(fSize.length() > 0 ? fSize : "-1")); | 218 section.setFontSize(Integer.parseInt(fSize.length() > 0 ? fSize : "-1")); |
219 section.setFixed(Boolean.valueOf(fixation)); | 219 section.setFixed(Boolean.valueOf(fixation)); |
220 section.setLowerRange(Double.valueOf(low.length() > 0 ? low : "0")); | 220 section.setLowerRange(Double.parseDouble(low.length() > 0 ? low : "0")); |
221 section.setUpperRange(Double.valueOf(up.length() > 0 ? up : "0")); | 221 section.setUpperRange(Double.parseDouble(up.length() > 0 ? up : "0")); |
222 | 222 |
223 target.addAxisSection(section); | 223 target.addAxisSection(section); |
224 } | 224 } |
225 | 225 |
226 | 226 |