Changeset 16191 in josm


Ignore:
Timestamp:
2020-03-22T09:23:40+01:00 (5 years ago)
Author:
GerdP
Message:

see #18749: fix performance regression introduced with r15909

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java

    r15995 r16191  
    214214                    return;
    215215                int count = counter.getAsInt();
    216                 if (link.conds == null) {
     216                if (link.conds == null || link.conds.isEmpty()) {
    217217                    // index is not needed, we can avoid the sequential search below
    218218                    e.parent = parent;
Note: See TracChangeset for help on using the changeset viewer.