Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-07-15 12:46:16 +02:00
commit a02ccee4d6

View file

@ -153,6 +153,9 @@ public class OsmBaseStorage extends DefaultHandler {
protected double parseDouble(Attributes a, String name, double defVal){
double ret = defVal;
String value = a.getValue(name);
if(value == null) {
return defVal;
}
try {
ret = Double.parseDouble(value);
} catch (NumberFormatException e) {