Ignore:
Timestamp:
2016-09-21T21:37:13+02:00 (3 years ago)
Author:
simon04
Message:

Use Relation.getMemberPrimitivesList where possible to avoid unnecessary set creation

File:
1 edited

Legend:

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

    r10446 r11038  
    8888            seenRelations.add(r);
    8989            boolean needRepaint = false;
    90             for (OsmPrimitive m : r.getMemberPrimitives()) {
     90            for (OsmPrimitive m : r.getMemberPrimitivesList()) {
    9191                if (!(m instanceof Relation) || !seenRelations.contains(m)) {
    9292                    needRepaint |= setHighlight(m, flag, seenRelations);
Note: See TracChangeset for help on using the changeset viewer.