Changeset 9214 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2015-12-29T19:23:48+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r8942 r9214 360 360 // need to synthesize a download bounds lest the visual indication of downloaded area doesn't work 361 361 dataSet.dataSources.add(new DataSource(currentBounds != null ? currentBounds : 362 new Bounds( new LatLon(0, 0)), "OpenStreetMap server"));362 new Bounds(LatLon.ZERO), "OpenStreetMap server")); 363 363 } 364 364 -
trunk/src/org/openstreetmap/josm/data/imagery/OffsetBookmark.java
r8846 r9214 106 106 center = Main.getProjection().eastNorth2latlon(Main.map.mapView.getCenter()); 107 107 } else { 108 center = new LatLon(0, 0);108 center = LatLon.ZERO; 109 109 } 110 110 OffsetBookmark nb = new OffsetBookmark( -
trunk/src/org/openstreetmap/josm/gui/dialogs/LatLonDialog.java
r8909 r9214 195 195 public void setCoordinates(LatLon ll) { 196 196 if (ll == null) { 197 ll = new LatLon(0, 0);197 ll = LatLon.ZERO; 198 198 } 199 199 this.latLonCoordinates = ll; -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/PlayHeadMarker.java
r9078 r9214 61 61 62 62 private PlayHeadMarker() { 63 super( new LatLon(0.0, 0.0), "",63 super(LatLon.ZERO, "", 64 64 Main.pref.get("marker.audiotracericon", "audio-tracer"), 65 65 null, -1.0, 0.0); -
trunk/src/org/openstreetmap/josm/io/NmeaReader.java
r8870 r9214 455 455 // return a zero latlon instead of null so it is logged as zero coordinate 456 456 // instead of malformed sentence 457 if (widthNorth.isEmpty() && lengthEast.isEmpty()) return new LatLon(0.0, 0.0);457 if (widthNorth.isEmpty() && lengthEast.isEmpty()) return LatLon.ZERO; 458 458 459 459 // The format is xxDDLL.LLLL
Note:
See TracChangeset
for help on using the changeset viewer.