comparison flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java @ 3561:f7e6b35f0b5c

Partly reverted Double->double change of clins. flys-artifacts/trunk@5158 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 29 Jul 2012 16:04:40 +0000
parents 0b9b2a0c4e64
children 84a19de5f16a
comparison
equal deleted inserted replaced
3560:6b1e228959a6 3561:f7e6b35f0b5c
175 if (value == null || value.length() == 0) { 175 if (value == null || value.length() == 0) {
176 return defaultsTo; 176 return defaultsTo;
177 } 177 }
178 178
179 try { 179 try {
180 return Double.valueOf(value); 180 return Double.parseDouble(value);
181 } 181 }
182 catch (NumberFormatException nfe) { 182 catch (NumberFormatException nfe) {
183 // do nothing 183 // do nothing
184 } 184 }
185 185

http://dive4elements.wald.intevation.org