Changeset 14215 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2018-09-01T15:39:07+02:00 (6 years ago)
Author:
Don-vip
Message:

remove deprecated stuff

Location:
trunk/src/org/openstreetmap/josm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java

    r13937 r14215  
    261261        }
    262262
    263         /**
    264          * Returns the number of modifiable data layers
    265          * @return number of modifiable data layers
    266          * @deprecated Use {@link #getNumModifiableDataLayers}
    267          */
    268         @Deprecated
    269         protected int getNumDataLayers() {
    270             return (int) getNumModifiableDataLayers();
    271         }
    272 
    273263        private static Stream<OsmDataLayer> getModifiableDataLayers() {
    274264            return MainApplication.getLayerManager().getLayersOfType(OsmDataLayer.class)
  • trunk/src/org/openstreetmap/josm/gui/download/AbstractDownloadSourcePanel.java

    r13498 r14215  
    9292     * Updates GUI components of the panel according to the bbox changes.
    9393     * @param bbox The new value for the bounding box.
    94      * @deprecated Use {@link #boundingBoxChanged} instead
    95      */
    96     @Deprecated
    97     public void boudingBoxChanged(Bounds bbox) {
    98         // override this if the panel must react on bbox changes
    99     }
    100 
    101     /**
    102      * Updates GUI components of the panel according to the bbox changes.
    103      * @param bbox The new value for the bounding box.
    10494     * @since 13498
    10595     */
  • trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java

    r14196 r14215  
    267267     * @param eventSource - the DownloadSelection object that fired this notification.
    268268     */
    269     @SuppressWarnings("deprecation")
    270269    public void boundingBoxChanged(Bounds b, DownloadSelection eventSource) {
    271270        this.currentBounds = b;
     
    278277        for (AbstractDownloadSourcePanel<?> ds : downloadSourcesTab.getAllPanels()) {
    279278            ds.boundingBoxChanged(b);
    280             ds.boudingBoxChanged(b);
    281279        }
    282280    }
  • trunk/src/org/openstreetmap/josm/io/OsmWriter.java

    r14214 r14215  
    9999
    100100    /**
    101      * Writes OSM header with normal download policy and given upload policy.
    102      * @deprecated Use {@link #header(DownloadPolicy, UploadPolicy)} instead
    103      * @param upload upload policy
    104      */
    105     @Deprecated
    106     public void header(UploadPolicy upload) {
    107         header(DownloadPolicy.NORMAL, upload);
    108     }
    109 
    110     /**
    111101     * Writes OSM header with given download upload policies.
    112102     * @param download download policy
Note: See TracChangeset for help on using the changeset viewer.