- Timestamp:
- 2018-03-30T19:49:44+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GeoJSONWriter.java
r13173 r13587 145 145 146 146 private static JsonArrayBuilder getCoorArray(JsonArrayBuilder builder, EastNorth c) { 147 return builder != null ? builder : Json.createArrayBuilder()147 return (builder != null ? builder : Json.createArrayBuilder()) 148 148 .add(BigDecimal.valueOf(c.getX()).setScale(11, RoundingMode.HALF_UP)) 149 149 .add(BigDecimal.valueOf(c.getY()).setScale(11, RoundingMode.HALF_UP));
Note:
See TracChangeset
for help on using the changeset viewer.