Changeset 14215 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-09-01T15:39:07+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r13937 r14215 261 261 } 262 262 263 /**264 * Returns the number of modifiable data layers265 * @return number of modifiable data layers266 * @deprecated Use {@link #getNumModifiableDataLayers}267 */268 @Deprecated269 protected int getNumDataLayers() {270 return (int) getNumModifiableDataLayers();271 }272 273 263 private static Stream<OsmDataLayer> getModifiableDataLayers() { 274 264 return MainApplication.getLayerManager().getLayersOfType(OsmDataLayer.class) -
trunk/src/org/openstreetmap/josm/gui/download/AbstractDownloadSourcePanel.java
r13498 r14215 92 92 * Updates GUI components of the panel according to the bbox changes. 93 93 * @param bbox The new value for the bounding box. 94 * @deprecated Use {@link #boundingBoxChanged} instead95 */96 @Deprecated97 public void boudingBoxChanged(Bounds bbox) {98 // override this if the panel must react on bbox changes99 }100 101 /**102 * Updates GUI components of the panel according to the bbox changes.103 * @param bbox The new value for the bounding box.104 94 * @since 13498 105 95 */ -
trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java
r14196 r14215 267 267 * @param eventSource - the DownloadSelection object that fired this notification. 268 268 */ 269 @SuppressWarnings("deprecation")270 269 public void boundingBoxChanged(Bounds b, DownloadSelection eventSource) { 271 270 this.currentBounds = b; … … 278 277 for (AbstractDownloadSourcePanel<?> ds : downloadSourcesTab.getAllPanels()) { 279 278 ds.boundingBoxChanged(b); 280 ds.boudingBoxChanged(b);281 279 } 282 280 } -
trunk/src/org/openstreetmap/josm/io/OsmWriter.java
r14214 r14215 99 99 100 100 /** 101 * Writes OSM header with normal download policy and given upload policy.102 * @deprecated Use {@link #header(DownloadPolicy, UploadPolicy)} instead103 * @param upload upload policy104 */105 @Deprecated106 public void header(UploadPolicy upload) {107 header(DownloadPolicy.NORMAL, upload);108 }109 110 /**111 101 * Writes OSM header with given download upload policies. 112 102 * @param download download policy
Note:
See TracChangeset
for help on using the changeset viewer.