Changeset 11071 in josm for trunk/src


Ignore:
Timestamp:
2016-10-02T11:31:09+02:00 (3 years ago)
Author:
simon04
Message:

see #13175 - Document deprecated method usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r11048 r11071  
    460460        Set<MapViewPaintable> invalidated = invalidatedListener.collectInvalidatedLayers();
    461461        for (Layer l: visibleLayers) {
     462            // `isChanged` for backward compatibility, see https://josm.openstreetmap.de/ticket/13175#comment:7
     463            // Layers that still implement it (plugins) will use it to tell the MapView that they have been changed.
     464            // This is why the MapView still uses it in addition to the invalidation events.
    462465            if (l.isChanged() || invalidated.contains(l)) {
    463466                break;
Note: See TracChangeset for help on using the changeset viewer.