Ignore:
Timestamp:
2021-05-17T19:44:04+02:00 (5 years ago)
Author:
simon04
Message:

see #17177 - IWaySegment: encapsulate fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java

    r16661 r17896  
    418418            return DeleteCommand.deleteWaySegment(parameters.nearestSegment);
    419419        case way:
    420             return DeleteCommand.delete(Collections.singleton(parameters.nearestSegment.way), false, silent);
     420            return DeleteCommand.delete(Collections.singleton(parameters.nearestSegment.getWay()), false, silent);
    421421        case way_with_nodes:
    422             return DeleteCommand.delete(Collections.singleton(parameters.nearestSegment.way), true, silent);
     422            return DeleteCommand.delete(Collections.singleton(parameters.nearestSegment.getWay()), true, silent);
    423423        case way_with_references:
    424             return DeleteCommand.deleteWithReferences(Collections.singleton(parameters.nearestSegment.way), true);
     424            return DeleteCommand.deleteWithReferences(Collections.singleton(parameters.nearestSegment.getWay()), true);
    425425        default:
    426426            return null;
Note: See TracChangeset for help on using the changeset viewer.