Changeset 13101 in josm


Ignore:
Timestamp:
2017-11-08T23:55:32+01:00 (7 years ago)
Author:
Don-vip
Message:

fix #15534 - NPE

File:
1 edited

Legend:

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

    r13100 r13101  
    7070
    7171        if (lastUser != null && lastUser.getId() == uid) {
    72             lastUser.setPreferredName(name);
     72            if (name != null) {
     73                lastUser.setPreferredName(name);
     74            }
    7375            return lastUser;
    7476        }
Note: See TracChangeset for help on using the changeset viewer.