Ignore:
Timestamp:
2016-06-29T20:58:44+02:00 (8 years ago)
Author:
donvip
Message:

remove calls to deprecated methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/CustomizePublicTransportStop/src/ru/rodsoft/openstreetmap/josm/plugins/customizepublictransportstop/CustomizeStopAction.java

    r32048 r32441  
    7676                if (!isEnabled())
    7777                        return;
    78                 CreateStopAreaFromSelectedObjectOperation createStopAreaFromSelectedObjectOperation = new CreateStopAreaFromSelectedObjectOperation(getCurrentDataSet());
     78                CreateStopAreaFromSelectedObjectOperation createStopAreaFromSelectedObjectOperation = new CreateStopAreaFromSelectedObjectOperation(
     79                        getLayerManager().getEditDataSet());
    7980                StopArea stopArea = createStopAreaFromSelectedObjectOperation.performCustomizing(null);
    8081                if(stopArea == null)
     
    9293        public StopArea performCustomizing(StopArea stopArea)
    9394        {
    94                 CustomizeStopAreaOperation customizeStopAreaOperation = new CustomizeStopAreaOperation(getCurrentDataSet());
     95                CustomizeStopAreaOperation customizeStopAreaOperation = new CustomizeStopAreaOperation(getLayerManager().getEditDataSet());
    9596                return customizeStopAreaOperation.performCustomizing(stopArea);
    9697        }
Note: See TracChangeset for help on using the changeset viewer.