Ignore:
Timestamp:
2013-06-16T13:41:18+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8799 - Follow conventional visitor design pattern by renaming visit(Visitor) to accept(Visitor) (missing files from previous commit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/WireframeMapRenderer.java

    r5881 r6010  
    161161        for (final Relation rel : data.searchRelations(bbox)) {
    162162            if (rel.isDrawable() && !ds.isSelected(rel) && !rel.isDisabledAndHidden()) {
    163                 rel.visit(this);
     163                rel.accept(this);
    164164            }
    165165        }
     
    176176                    untaggedWays.add(way);
    177177                } else {
    178                     way.visit(this);
     178                    way.accept(this);
    179179                }
    180180            }
     
    185185        for (List<Way> specialWays : Arrays.asList(new List[]{untaggedWays, highlightedWays})) {
    186186            for (final Way way : specialWays){
    187                 way.visit(this);
     187                way.accept(this);
    188188            }
    189189            specialWays.clear();
     
    193193        for (final OsmPrimitive osm : data.getSelected()) {
    194194            if (osm.isDrawable()) {
    195                 osm.visit(this);
     195                osm.accept(this);
    196196            }
    197197        }
     
    201201            if (osm.isDrawable() && !ds.isSelected(osm) && !osm.isDisabledAndHidden())
    202202            {
    203                 osm.visit(this);
     203                osm.accept(this);
    204204            }
    205205        }
Note: See TracChangeset for help on using the changeset viewer.