Revision 49975
Added by Panagiotis Kanakakis over 6 years ago
Converter.java | ||
---|---|---|
126 | 126 |
|
127 | 127 |
public static Double toDouble(String number){ |
128 | 128 |
if(Objects.equals(number, "null")) |
129 |
return null;
|
|
129 |
return 0.0;
|
|
130 | 130 |
else |
131 | 131 |
return Double.valueOf(number); |
132 | 132 |
} |
Also available in: Unified diff
1. Change converter method ( null lat/lon -> 0 )
2. Change repository api. Organize code, add new api methods.