Changeset 17589 in josm


Ignore:
Timestamp:
2021-03-18T08:29:22+01:00 (4 years ago)
Author:
simon04
Message:

see #20613 - Fix NPE in AbstractPrimitive.visitKeys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java

    r17587 r17589  
    448448    @Override
    449449    public void visitKeys(KeyValueVisitor visitor) {
     450        String[] keys = this.keys;
    450451        if (keys != null) {
    451452            for (int i = 0; i < keys.length; i += 2) {
     
    647648    @Override
    648649    public final Collection<String> keySet() {
     650        String[] keys = this.keys;
    649651        if (keys == null) {
    650652            return Collections.emptySet();
Note: See TracChangeset for help on using the changeset viewer.